-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Refactor URL rewriting #250
Conversation
Use a Markdown extension to hook into the build process and modify the HTML document tree rather than using regular expressions to process the HTML. Fixes mkdocs#240
Oh my! :) |
I didn't know where to put the extenstion, not sure about |
Probably marginally better to just keep the structure flat. |
@@ -0,0 +1,83 @@ | |||
from markdown.treeprocessors import Treeprocessor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docstring with what and why maybe?
Eg. example of before and after link.
cool, I'll do that |
Ready for a re-review if you get time @tomchristie |
👍 |
Use a Markdown extension to hook into the build process and modify the
HTML document tree rather than using regular expressions to process
the HTML.
Fixes #240