Support absolute path in templates #56
Closed
JakubAndrysek
started this conversation in
Ideas
Replies: 1 comment
-
Added to MkDocs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is possible trought more ways:
1. Jinja template
2.
mkdocs_macros_plugin
If you want a more automated solution, there isn't a specific plugin for handling absolute links in MkDocs, but you can use a workaround with the mkdocs_macros_plugin. This plugin allows you to create custom macros in your Markdown files that can be replaced with content during the build process.
3.
pymdownx.pathconverter
You can use the pymdownx.pathconverter extension to convert relative Markdown links to absolute links, taking into account the use_directory_urls configuration option.
Beta Was this translation helpful? Give feedback.
All reactions