Skip to content

Testing backticks in front matter title on two HTML pages#43486

Open
dipikabh wants to merge 1 commit intomdn:mainfrom
dipikabh:ref-title-backticks
Open

Testing backticks in front matter title on two HTML pages#43486
dipikabh wants to merge 1 commit intomdn:mainfrom
dipikabh:ref-title-backticks

Conversation

@dipikabh
Copy link
Contributor

Description

For standardizing our titles on reference pages, backtick support has been added in mdn/rari#552, which is now available in mdn/content.

In this PR, I'm trying out the backticks on two reference pages in HTML.

rari is correctly outputting titleHTML in the JSON:

  • "titleHTML": "<code>is</code> HTML global attribute"
  • "titleHTML": '<code>&lt;input type="number"&gt;</code> HTML attribute value'

Additional details

fred still needs to be updated to read titleHTML from rari's output and render it in page <h1>.
Also, after fred starts rendering <code> tags in the title, they'd need to be styled appropriately.

Meanwhile, title updates need not be blocked by fred work and can proceed in parallel.

Related issues and pull requests

@dipikabh dipikabh requested a review from pepelsbey March 19, 2026 00:01
@dipikabh dipikabh requested a review from a team as a code owner March 19, 2026 00:01
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed labels Mar 19, 2026
@dipikabh dipikabh removed the request for review from a team March 19, 2026 00:02
@github-actions
Copy link
Contributor

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

Labels

Content:HTML Hypertext Markup Language docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants