@jwevans/markdown-it-highlight-inline-code
v0.1.2
Published
Adds syntax highlighting to inline code blocks
Downloads
6
Readme
@jwevans/markdown-it-highlight-inline-code
Usage
npm i --save @jwevans/markdown-it-highlight-inline-code
import MarkdownIt from 'markdown-it';
import MarkdownItHighlightInlineCode from '@jwevans/markdown-it-highlight-inline-code';
const md = new MarkdownIt();
md.use(HighlightInlineCode);
md.render(/* Markdown String to Render */)
`#!python range(10)`
--OR--
`#!javascript console.log("Hello World!")`