Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Support additional languages for syntax highlighting #1367

@daurnimator

Description

@daurnimator

Which part of the project should be enhanced?

Syntax highlighting should support more languages

Is your enhancement request related to a problem? Please describe.

Code syntax highlighting currently only supports what highlight JS supports out of the box.
Upstream highlight.js doesn't add new languages; so how can I e.g. highlight zig code?
Ref: highlightjs/highlight.js#2441 (comment)

Describe the solution you'd like

Add ability to configure extra highlighting grammars

Describe alternatives you've considered

Add support for alternative syntax highlighting engines

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions