You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
When I use something like in step #5, the #5 part is rendered as a hyperlink to https://github.com/squidfunk/mkdocs-material/issues/#, where # is replaced with the provided number, e.g.: https://github.com/squidfunk/mkdocs-material/issues/5:
Expected behaviour
The #x part should be left as it is. I know I can escape it with a backslash, but why does it render into a link to a GH issue?
Thank for reporting. This is due to the pymdownx.magiclink extension, which you have enabled. If you remove the following lines from mkdocs.yml, hash + number will not be converted anymore:
Oh my goodness, what a dumbass I am! Sorry for that. I copied mkdocs.yml from your project to make sure I got everything I needed, commented out the unnecessary things, but didn't notice this one.
My apologies once again and thanks for your great work!
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
When I use something like
in step #5
, the#5
part is rendered as a hyperlink tohttps://github.com/squidfunk/mkdocs-material/issues/#
, where#
is replaced with the provided number, e.g.:https://github.com/squidfunk/mkdocs-material/issues/5
:Expected behaviour
The
#x
part should be left as it is. I know I can escape it with a backslash, but why does it render into a link to a GH issue?Actual behaviour
step #1
in a MD file = step #1 in a rendered pageSteps to reproduce
#1
somewhere in your source MD file.Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: