Skip to content

Enable YAML syntax highlighting within DocC content #959

@heckj

Description

@heckj

Feature Name

yaml-highlighting

Description

following up from https://forums.swift.org/t/support-for-more-language-syntax-highlighting/77939, update src/utils/syntax-highlight.js (link into main's version) to add default support for YAML, which is already provided in Highlight.js, used by the renderer.

Motivation

When writing articles and content about modern infrastructure, we're hitting common use cases where we have significant sections of YAML content, where syntax highlighting would make reviewing the content far more pleasant and clear.

Importance

No response

Alternatives Considered

No response

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