docs.sublimetext.io icon indicating copy to clipboard operation
docs.sublimetext.io copied to clipboard

Line highlights don't work

Open FichteFoll opened this issue 5 years ago • 1 comments

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

FichteFoll avatar May 31 '20 12:05 FichteFoll

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.

rchl avatar Jun 07 '20 19:06 rchl

Fixed with migration to Vitepress

TerminalFi avatar Oct 29 '23 14:10 TerminalFi

Example:

https://docs.sublimetext.io/guide/extensibility/plugins/input_handlers.html#the-next-input-method

2023-10-29_15-52-17

FichteFoll avatar Oct 29 '23 14:10 FichteFoll