markdown-it-highlight
highlight.js plugin for markdown-it.
install
yarn add markdown-it-highlight
usage
for node.js
const mdi = mdi mdi // <pre><code>print 'hello world'</code></pre>
for browser
You also need to import the css:
Or you can add the css to the web page directly.
Development
Build
yarn build:watch
Test
yarn test
Distribution
yarn release && npm publish