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

[Feature Request] Shiki line number #309

Closed
3 tasks done
zhuozhiyongde opened this issue Mar 14, 2024 · 3 comments
Closed
3 tasks done

[Feature Request] Shiki line number #309

zhuozhiyongde opened this issue Mar 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@zhuozhiyongde
Copy link
Collaborator

Clear and concise description of the problem

现在的 shiki 不支持 line number。

Suggested solution

shikijs/shiki#3

Alternative

似乎需要通过修改 css 支持,但我试了一下没成功(

Additional context

No response

Validations

@zhuozhiyongde zhuozhiyongde added the enhancement New feature or request label Mar 14, 2024
@Innei
Copy link
Owner

Innei commented Mar 15, 2024

原本是有的,后来我删了。感觉没有必要

@zhuozhiyongde
Copy link
Collaborator Author

但是原本的 highlighter 是有的,而且有时候基于行数的表述也需要它,或许佬可以给个代码吗,我也可以就在自己的那个 fork 加一下(

@Innei Innei closed this as completed in e76df6f Mar 15, 2024
@Innei
Copy link
Owner

Innei commented Mar 15, 2024

DONE

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

No branches or pull requests

2 participants