limn-pulldown-cmark
pulldown-cmark event adapter for limn-hl. Replaces fenced code blocks with highlighted HTML while passing all other events through unchanged.
Install
Usage
use Highlighter;
use ;
let hl = new
.with_auto_detect;
let html = hl.render_html;
To use custom pulldown_cmark::Parser flags or inspect events, wrap any Event iterator with hl.events(parser). See docs/integrations.md for more details.