markplus-plugin-render-highlight
v0.5.0
Published
Render codes with highlightjs.
Downloads
18
Maintainers
Readme
markplus-plugin-render-highlight
Render codes with highlightjs for markplus.
Setup
npm i --save-dev markplus markplus-plugin-render-highlight
Usage
Simple:
{ "plugin": [ "render-highlight" ] }
Theme:
{
"plugin": [
["render-highlight", "THEME_NAME"]
]
}
Preset value of THEME_NAME
:
light: https://highlightjs.org/static/demo/styles/github.css night: https://highlightjs.org/static/demo/styles/vs2015.css
Other values would be used as the content of style
element directly.