Skip to content

Ignore options in {} after setting code snippet language #577

@RheingoldRiver

Description

@RheingoldRiver

I'm building a site in Hugo so I'm setting language in a snippet like lua {linenos=table} and the {linenos=table} suppresses the code highlighting inside the snippet. Could that be ignored by the syntax definition?

actual:
image
vs wanted:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions