lektor/lektor-markdown-highlighter

Support line highlighting

Opened this issue · 0 comments

Passing hl_lines= arg to formatters allows to tell Pygments to highlight certain lines: https://pygments.org/docs/formatters/#HtmlFormatter.

It'd be great to support this feature.

Here's how some JS libs implement this, UX-wise: https://github.com/egoist/markdown-it-highlight-lines#usage.