Skip to content

cannot allow/skip unsupported highlighting languages #2819

@OmarTawfik

Description

@OmarTawfik

Users can author code blocks in the docs, which might not be supported by typedoc. This is still a valid use case, because it can be used with typedoc-plugin-markdown, which will write the language-ID as-is to the markdown, to be highlighted by something other than shiki (for example mkdocs).

Search terms

highlight language add ignore

Expected Behavior

Perhaps adding an option like ignoreLanguages next to the existing highlightLanguages, to allow using these other languages. For shiki, it would remain unhighlighted.

Actual Behavior

Without such flag, users are not able to set the correct language-ID, and are blocked from using other systems/markdown plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributorshelp wantedContributions are especially encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions