Skip to content

Default to render code blocks w/out syntax highlighting instead of hard failure #2956

Closed
@unmultimedio

Description

@unmultimedio

Creating a new issue from:

@Gerrit0 Just bumped into this issue, with another language. According to the docs:

By default, TypeDoc will produce an error if a code block specifies a language which is not present in the highlightLanguages array.

I wonder if there's a way to tell TypeDoc to not fail for unknown languages, but instead just render w/out highlight. I can open a new issue with this question if you want.

Originally posted by @unmultimedio in #2943

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions