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

feat: support line numbers for code blocks #311

Merged
merged 3 commits into from
Jul 25, 2021
Merged

Conversation

mathieutu
Copy link
Contributor

Quickly and basically done, based on shikijs/shiki#3 (comment)

see #310

@antfu antfu changed the title feat: add basic line numbers for shiki. feat: support line numbers for code blocks Jul 25, 2021
@antfu
Copy link
Member

antfu commented Jul 25, 2021

Update the implementation to have general line number support and configurable via an option. Nice solution you have found. Thank you!

@antfu antfu merged commit 037318f into slidevjs:main Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants