underlines are replaced with spaces in navigation bar #7271
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @xie-dd, As per the code you should be able to override it via setting the 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 the default name later on without patching the internal code. |
Beta Was this translation helpful? Give feedback.
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 importanttitle: Calu_WeiXin...
, otherwise it processes the file name and replaces the_
withIf 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 …