docs.sublimetext.io
docs.sublimetext.io copied to clipboard
Line highlights don't work
Per the vuepress documentation, we should be able to add line highlights, but they don't seem to work (in #16 at least – not sure if there are used anywhere else).
References:
- https://vuepress.vuejs.org/guide/markdown.html#line-highlighting-in-code-blocks
- https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/lib/highlightLines.js
Looks like the markdown-it-attrs plugin creates this problem.
I suppose it consumes those markers itself for its own purposes but I'm not sure how this system works. Probably worth creating an issue at its repo.
Fixed with migration to Vitepress
Example:
https://docs.sublimetext.io/guide/extensibility/plugins/input_handlers.html#the-next-input-method