You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appreciate the hard work on this plugin! However, I encountered an issue that behaves differently than I expected when applying attributes to list elements in Markdown.
Markdown-it versions:
# run this command and copy the output# npm ls | grep markdown-it
$ bun pm ls | grep markdown-it
├── @types/markdown-it@14.1.2
├── @types/markdown-it-attrs@4.1.3
├── markdown-it@14.1.0
├── markdown-it-attrs@4.2.0
I was expecting the .item class to be applied to the outer ul element, but instead, it was applied to the inner one.
Could this behavior be part of the intended functionality of the plugin? Or might I be misunderstanding how to correctly apply attributes in this case? I would greatly appreciate any guidance on this matter.
Thank you very much for your time and for maintaining this fantastic plugin!
The text was updated successfully, but these errors were encountered:
Apologies for the confusion. After reading this section and issue #32, it seems that the behavior I encountered is indeed expected according to the specification.
In fact, when I rewrote the Markdown as shown below, the result changed as expected:
I appreciate the hard work on this plugin! However, I encountered an issue that behaves differently than I expected when applying attributes to list elements in Markdown.
Markdown-it versions:
Example input:
Current output:
Expected output:
I was expecting the .item class to be applied to the outer ul element, but instead, it was applied to the inner one.
Could this behavior be part of the intended functionality of the plugin? Or might I be misunderstanding how to correctly apply attributes in this case? I would greatly appreciate any guidance on this matter.
Thank you very much for your time and for maintaining this fantastic plugin!
The text was updated successfully, but these errors were encountered: