Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions