Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
n3taway opened this issue Mar 26, 2024 · 2 comments · Fixed by #1619
Closed

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

n3taway opened this issue Mar 26, 2024 · 2 comments · Fixed by #1619
Labels
enhancement New feature or request upstream

Comments

@n3taway
Copy link

n3taway commented Mar 26, 2024

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.

@n3taway n3taway added the enhancement New feature or request label Mar 26, 2024
@KermanX
Copy link
Member

KermanX commented Mar 27, 2024

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

@manniL
Copy link
Contributor

manniL commented May 28, 2024

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) ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants