• Resolved obrzr

    (@obrzr)


    Hi everybody,

    the plugin works great, so thanks in advance.
    But I still have a question: The plugin supports a lot of languages, but I can’t find TypoScript, although the language is supported by PRISM.
    I can enter “language-typoscript” as an additional CSS class, the block is also titled accordingly in the frontend, but unfortunately without code highlighting.

    Does anyone have any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help. I just retested typescript and it’s working normally on default WordPress. Maybe check the spelling of “typescript”, I notice it spelled with an “o” in your message. Try spelling it correctly and try again. Also you can find a guide to all supported languages (and how to spell them) here on the Installation page.

    Let me know if I can provide any further infos, glad to help anytime.

    Thread Starter obrzr

    (@obrzr)

    Thanks for your quick help 😀
    Unfortunately, I did not make a typo, PrismJS supports both Typescript and TypoScript, the configuration language of TYPO3.

    Please have a look here, the list of supported languages:
    https://prismjs.com/#supported-languages

    Plugin Author Jeff Starr

    (@specialk)

    Ah that explains it. The plugin supports only a subset of the Prism.js languages. Again you can find a list of supported languages on the Installation page (scroll down). Currently Typoscript/TsConfig is not supported.

    Thread Starter obrzr

    (@obrzr)

    Okay, thanks a lot anyway.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Code-Highlighting for TypoScript/TsConfig’ is closed to new replies.