-
This would be absolutely amazing, because line highlighting is still a little coarse-grained for me. I'm teaching a language so I need to be able to point out very specific aspects of the syntax. Using the regular html syntax obviously doesn't work within triple-backticks, it will just be interpreted as raw text. But is it maybe possible to avoid triple-backticks entirely and create code blocks with html syntax only? I wouldn't mind loosing a little bit of the markdown ergonomics. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think this is possible by adding Shiki's |
Beta Was this translation helpful? Give feedback.
I think this is possible by adding Shiki's
transformerMetaWordHighlight
tosetup/shiki.ts
, and then use some custom styles.