Skip to content

docs: <code> blocks in headings not rendered correctly #31451

Closed
@GeoffreyBooth

Description

@GeoffreyBooth

See e.g. https://nodejs.org/api/esm.html#esm_package_json_type_field. The text "type" should be rendered as a code block, yet instead it’s rendered as normal text with wide margins on either side. In earlier versions I tried using backticks but they weren’t supported in Markdown headings.

cc @Trott

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions