-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easy way to replace links to other markdown files to html files #528
Comments
There isn't a dedicated option for this but you can achieve the same effect using the link patterns extra |
Thanks for the info but I utterly failed using that feature 😭 I just haven't really wrapped my brain around how that one works. For now I am postprocessing the generated html which is fine. But I am still striving for a more elegant solution. |
The link patterns extra doesn't match against URLs, it matches against plain text, which caught me off guard when I used it. blah blah related to #12345 from the issue tracker Where you could then have a regex to match these refs and replace them with links to your issue tracker. Since you've got links to markdown files, you'll have to match your links, including the markdown link syntax (eg: In the future, I think it would be nice to implement this as a custom extra (#519), in the way this comment describes, but that does require the custom extra infrastructure. |
Add `MarkdownFileLinks` extra (#528)
I might be missing something obvious but I have several markdown files that have links between them.
After conversion to html the links still point to *.md files. If the extension would have been changed to *.html then they would work.
So I am wondering if I am missing something obvious to make this change happen?
The text was updated successfully, but these errors were encountered: