Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Sep 2, 2025

because it was parsed as true.

fix #13316

This is a scoped solution to format where providing code-line-numbers: "1" is expected to be a line to highlight.

Yes it will break code-line-numbers: "1" being interpreted as code-line-numbers: true in those formats. However, I don't see anyone using code-line-numbers: "1" in revealjs and expecting something else than first line to be highlighted

This also affects docusaurus-md output. Add test, and fix filter
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Sep 2, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@cscheid
Copy link
Collaborator

cscheid commented Sep 2, 2025

This looks good, thanks!

@cderv cderv merged commit 4bba7f4 into main Sep 3, 2025
53 of 54 checks passed
@cderv cderv deleted the fix/revealjs/code-line-numbers branch September 3, 2025 09:18
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.

In revealjs: true, code-line-numbers: "1" doesn't work

4 participants