PrismJS - add TypoScript support

Use case or problem

I’m using the CMS Typo3, which use it’s own language : TypoScript.
The code block in obsidian doesn’t seem to support it, but PrismJS does.
When I look in the sources of Obsidian, it calls the prismJS lib minified, with the parameters used for the min file in a comment, but TypoScript is not listed.

languages=markup+css+clike+javascript (...)

Proposed solution

Could you add TypoScript to the available languages in the languages parameter ?

https://prismjs.com/#supported-languages
image

https://prismjs.com/examples.html

1 Like