I am wondering if there is a way to set a code block’s language as JSX while writing, so that the syntax highlighter(Prism.js) can parse it accordingly.
- What’s your URL? https://findawayer.dev/
- What version of Ghost are you using? Ghost v3.41
And
-
How was Ghost installed and configured?
Using Ghost app in the Digital Ocean marketplace, set up the server with Ghost-CLI. -
What Node version, database, OS & browser are you using?
Node v12.18.0 / MySQL / Windows / Chrome dev build 90.0.4412.3 -
What errors or information do you see in the console?
none. -
What steps could someone else take to reproduce the issue you’re having?
Make a code block in the editor using ```jsx markdown syntax, and the codemirror module does not understandjsx
input.