Preserve inline code snippets in Table of Contents links #3437
karlcarstensen
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
|
Thanks for the suggestion! We currently depend on Astro’s Are there any other formatting HTML elements you’d expect to be preserved from headings? Or only |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlightare you using?0.35.2
What is your idea?
Currently, inline code does not show in TOC links. TOC titles should maintain inline code snippets.
Why is this feature necessary?
It would be wonderful if this was supported for visual consistency
Do you have examples of this feature in other projects?
This feature is currently supported by Docusaurus. You can see an example of this in use on the linked page. The text
docusaurus.config.jsis visually consistent in the Table of Contents and also in the headings on the page.https://docusaurus.io/docs/configuration
Participation
Beta Was this translation helpful? Give feedback.
All reactions