Skip to content

underlines are replaced with spaces in navigation bar #7271

Closed Answered by kamilkrzyskow
xie-dd asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @xie-dd,
this is the expected behaviour set by MkDocs:

As per the code you should be able to override it via setting the title property in the front matter to the one containing the underscores if they're important title: Calu_WeiXin..., otherwise it processes the file name and replaces the _ with .

If you want to change the default behaviour you'd need to override the Python code with a hook, but I'm not sure if that's a good approach🤔 Another option is to add a hook that would override …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kamilkrzyskow
Comment options

Answer selected by kamilkrzyskow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants