Skip to content

Conversation

NotTheDr01ds
Copy link
Contributor

While I would certainly love to turn line-numbers off (or at least only use them when there's a certain number of lines in the code-block), as mentioned in #1573 this just doesn't seem to work in Vuepress at the moment when using Shiki. Attempting to turn them off makes the problem worse by only removing the line-number from the last line, while keeping the rest:

image

This PR turns them back on to at least fix that bug. I don't yet know what the long-term solution should be.

It seems odd to me that this is broken at the Vuepress/Shiki upstream, but as mentioned in #1573, I reproduced it in a clean environment.

@NotTheDr01ds NotTheDr01ds requested a review from hustcer October 6, 2024 16:03
@hustcer hustcer merged commit 8c9aaaa into nushell:main Oct 6, 2024
2 checks passed
@hustcer
Copy link
Contributor

hustcer commented Oct 6, 2024

Thanks,let's try it

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.

2 participants