Closed ArmandPhilippot closed 3 months ago
Ah, I didn’t know we were using this anywhere in docs. We have a discussion for this here in Starlight: https://github.com/withastro/starlight/discussions/1915
I’ll link this issue there, but I think it will need solving upstream.
Ah, I checked the issues on the Starlight repository before opening this issue... I didn't think about the discussions. Thanks for the link!
📝 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.