Skip to content

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

Open
@jmooring

Description

@jmooring

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions