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

markup/highlight: Allow cfg.LineNos to be true, false, "inline", or "table" #13481

Open
jmooring opened this issue Mar 8, 2025 · 0 comments
Open

Comments

@jmooring
Copy link
Member

jmooring commented Mar 8, 2025

Fenced code blocks, the highlight shortcode, and the transform.Highlight function allow you to set lineNos to true, false, inline, or table.

But you can't use the last two in your site configuration.

It would be helpful if the options were consistent everywhere we use and document them:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant