# Adding languages to codeblocks

**URL:** <https://forum.obsidian.md/t/adding-languages-to-codeblocks/75263>\
**Category:** Help\
**Created:** [January 19, 2024, 10:30am UTC](https://forum.obsidian.md/t/adding-languages-to-codeblocks/75263 "2024-01-19T10:30:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skidman](https://forum.obsidian.md/user_avatar/forum.obsidian.md/skidman/32/59839_2.png) [@Skidman](https://forum.obsidian.md/u/Skidman)\
**Post date:** [January 19, 2024, 10:30am UTC](https://forum.obsidian.md/t/adding-languages-to-codeblocks/75263/1 "2024-01-19T10:30:32Z")

</div>

### What I’m trying to do

I am trying to add a not-so-popular language synthax to Obsidian codeblocks: Visual Foxpro.

### Things I have tried

I searched for this problem in the help forums, but only found a closed thread that mentioned prism.js already having the language the other user was trying to add. the language I am trying to add is not on prism.js (yet, it has a push pending on github)

I have no Idea what to do in order to get this to work. I would like to use obsidian for code and project documentation, and being able to add Foxpro as a Synthax Highlight would be perfect.

---

<div class="post-metadata">

**Author:** ![holroy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/holroy/32/77699_2.png) [@holroy](https://forum.obsidian.md/u/holroy)\
**Post date:** [January 19, 2024, 12:01pm UTC](https://forum.obsidian.md/t/adding-languages-to-codeblocks/75263/2 "2024-01-19T12:01:35Z")

</div>

Sadly, I think you just have to wait for it to be approved into the syntax highlighter, and then wait for Obsidian to include that new version.

Be aware though that _live preview_ and _reading mode_ uses different syntax highlighters, so if you’re lucky it could be supported in one of them. Other than that one can sometimes use a similar language and get a partial highlight.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [April 18, 2024, 12:01pm UTC](https://forum.obsidian.md/t/adding-languages-to-codeblocks/75263/3 "2024-04-18T12:01:57Z")

</div>

Closed on April 18, 2024, 12:01pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
