You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On at least some Markdown processors, the line containing "```" can contain the language, such as:
``` javascript
function code() {yield 5; return null;}
```
Could display as
functioncode(){yield5;returnnull;}
This means that one potential solution to fixing the syntax highlighting is to simply add the "javascript" language specification on the initial "```" line. Please check whether it actually works for your posts already, or if some additional plugin to support the Javascript language is needed.
EDIT: This page already has that fix. You should try to install a syntax highlighting plugin to your Markdown install and check on this page, before making this change. Perhaps highlight.js?
EDIT 2: See this page for how to enable syntax highlighting with Marked.JS.
The text was updated successfully, but these errors were encountered:
On at least some Markdown processors, the line containing "```" can contain the language, such as:
Could display as
This means that one potential solution to fixing the syntax highlighting is to simply add the "javascript" language specification on the initial "```" line. Please check whether it actually works for your posts already, or if some additional plugin to support the Javascript language is needed.
EDIT: This page already has that fix. You should try to install a syntax highlighting plugin to your Markdown install and check on this page, before making this change. Perhaps highlight.js?
EDIT 2: See this page for how to enable syntax highlighting with Marked.JS.
The text was updated successfully, but these errors were encountered: