Description
Overview
I recently came across this plugin as I need absolute links in a MkDocs website to resolve relative to the site_url
.
The plugin works great, however, my website doesn't prefix absolute links with site:
, but just uses a forward slash /
as the prefix for absolute links (often used as absolute paths/links prefix).
I think it could be useful to make the site:
prefix an input parameter that can be changed in the plugin configuration, so that users don't necessarily need to change all their absolute links structure to reflect the site: ...
structure, but rather set their own prefix (in my case for example, /
) to match their website (or their preferred syntax/structure).
Changes in this plugin
This would require minimal changes in this plugin source code, and the default value of the prefix
input parameter could be set to site:
so the new version would be completely back-compatible without issues.
If this suggestion is welcomed, I am happy to open a PR for it.
Thank you.
Cheers
Davide