Waylan Limberg

Results 369 comments of Waylan Limberg

> If it came to it, you could just generally set a type hinting for the `Meta` attribute as `TypeOfMeta | None`. This would indicate to the user that the...

> 1. Declare the 3 core attributes. ... Adding third-party extensions there will be summarily rejected. The problem is that this favors the built-in extensions, which I have tried to...

> I think there is now no way to use that extension in a type-safe way I have no objection to that. In other words, that would not stop me...

> Or **actually** no, maybe users will be fine? They actually shouldn't unconditionally access that attr because it can be unset. They should be doing `getattr` anyway which is not...

Our [documentation](https://python-markdown.github.io/extensions/footnotes/#syntax) states: > Python-Markdown’s Footnote syntax follows the generally accepted syntax of the Markdown community at large and almost exactly matches [PHP Markdown Extra](http://michelf.com/projects/php-markdown/extra/#footnotes)’s implementation of footnotes. We have...

I am indifferent to this. I was willing to add type annotations for documentation purposes because I see the value. However, I see no value in type annotations for annotations...

A lot happened in other PRs since this issue was last updated. Of significance is [this comment](https://github.com/Python-Markdown/markdown/pull/1399#issuecomment-1791031687) of mine where I laid out more specific direction about my expectations regarding...

Interesting issue. When the feature was implemented, we did not foresee any sort of formatted text being passed in as a value, which explains why you need to jump through...

@squidfunk thanks for the explanation. I commented on your issue with a suggestion for a different way to solve your problem. Whether you go that route or another is your...

@facelessuser the `attr_list` parser handles curly braces just fine. ```python >>> from markdown.extensions.attr_list import get_attrs >>> get_attrs('data-test="{}"') [('data-test', '{}')] ``` Like `fenced_code`, headers fail because the regex which grabs the...