For example, if I have a markdown file with the following:
###This is my markdown file
here is some text.
here is my code block:
``` js
var accountdown = require('accountdown');
var level = require('level');
var db = level('/tmp/users.db');
var users = accountdown(db, {
login: { basic: require('accountdown-basic') }
});
var user = process.argv[2];
var pass = process.argv[3];
var bio = process.argv[4];
var opts = {
login: { basic: { username: user, password: pass } },
value: { bio: bio }
};
users.create(user, opts, function (err) {
if (err) console.error(err);
});
```
How can I enable highlighting in the code block?
Perhaps it's unrelated, but org-mode can highlight source code blocks as follows:
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t)
(js . t)
(R . t)))
gfm-mode
forREADME
or more generally, all Markdown files, it will highlight the code blocks in one uniform color. The feature of highlighting them à la org-mode hasn't been implemented yet.gfm-mode