-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Tip's titles are truncated when using inline code #8711
Description
📝 Issue Description
Some tips are using inline code in their title (e.g. :::tip[Set a `baseUrl`]). It seems only strings are accepted so the inline code is removed from the title.
📋 On which page(s) it occurs
Edit: After checking manually the documentation website in English, it seems to be the only affected page (including the translations). So I would say that it is the expected behavior and the Tips title on this page should be renamed (not a bug). Most of the tips have Tip as title... maybe it's enough here too. What do you think?
🤔 Expected Behavior
I expect to see "Set a baseUrl" while navigating to the tip above Running your Playwright tests since in the source file I see :::tip[Set a `baseUrl`] (without the extra space at the end which I added for formatting).
👀 Current Behavior
Instead, I see "Set a ".
And this is happening for other tips on the page.
🖥️ Browser
Not relevant I think but... Firefox 127.0.1
📄 Additional Information
I could update the documentation but I'm not sure if this is a bug or the expected behavior. So I prefer to have a confirmation first.
- In case of expected behavior, the documentation should be updated to replace the inline codes in all the aside's titles with regular strings,
- In case of a Starlight bug, an issue should be opened there about asides.ts.