-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Description
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
function code() {yield 5; return null;}
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.
Metadata
Metadata
Assignees
Labels
No labels