Waylan Limberg

Results 369 comments of Waylan Limberg

> A hook can be assigned a priority via [`event_priority`](https://github.com/mkdocs/mkdocs/blob/62a4e3c213d4cbdb27c08d9456aaff5b583bca07/mkdocs/plugins.py#L426), but the config is parsed before any of the hooks is invoked. > > ... except for `on_startup`, which only...

If you are using bleach to sanitize Markdown output, I might suggest [yourcelf/bleach-allowlist](https://github.com/yourcelf/bleach-allowlist) which contains a comprehensive set of bleach configs.

Bleach does not understand Markdown at all. One should only pass the HTML output of Markdown to Bleach. Of course, if valid HTML code blocks (or spans) contain Markdown, Bleach...

My initial inclination is to say we don't care. Markdown is not secure by its design, and it is not the responsibility of a Markdown parser to ensure that no...

I'm not surprised by this. In fact, I was very resistant at first to #1546 because I expected this. I only moved forward when it seemed that tests confirmed it...

If we roll back #1546, then how do we handle the `USE_DENFINITION_ORDER` option. That option didn't exist previously. However, some users could have enabled it since the last release. Removing...

My inclination is to do a "bug fix" release which changes the default of `USE_DEFINITION_ORDER` to `True` which would have the effect of reverting the change. That will provide the...

I have reverted the default behavior as discussed. However, the new behavior is still not working consistently as reported here. Therefore, I am leaving this open until that issue is...

As mentioned, it is already possible to provide your own slugify implementation. Therefore, there is no need to make any additional changes. > I've never quite understood why the separator...