Marked with syntax highlighting and ascii-math by default
var marked = require('supermarked'); marked('markdown string', options);
Extensions currently supported
Syntax highlighting using highlight.js is enabled by default for code samples (requires css to actually have an impact)
You can create math in two ways, it can go inline in a paragraph like $e^(i pi)=-1$ or it can be a block
To have it like a block, simply indent it 4 spaces like code and surround with $ signs.
You can use
service: @user anywhere to mention someone and it will turn into a social link. Supported services are
@ is optional.
In addition to this there is
local: @user which becomes a link to
:user: is replaced with the username of the person being mentioned). This is also aliased as the default if you just type