slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
33.3k stars 1.35k forks source link

In shiki-magic-move code block display line number #1470

Closed n3taway closed 5 months ago

n3taway commented 7 months ago

Is your feature request related to a problem? Please describe. in Frontmatter Configures setting lineNumbers: true, but shiki-magic-move code block No line number

Describe the solution you'd like shiki-magic-move code block can display line numbers

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

KermanX commented 7 months ago

It seems that Shiki Magic Move doesn't support line numbers yet.

manniL commented 5 months ago

it should via options.lineNumbers 🤔 and also works in the playground.

The problem is that the Slidev component doesn't support it (compared to the default one) ☺️