Custom list icons syntax: make the space before `{` optional
Closed this issue · 3 comments
damithc commented
Current:
* item {icon="fas-home"}
works
* item{icon="fas-home"}
does not work
Suggestion: make the 2nd one work as well
SPWwj commented
@SPWwj can confirm this behavior? Any thoughts on the above suggestion?
I can't reproduce the bug on my end;
both syntax work for me:
Could you share the exact code that causes the bug?
I think this issue appears to be related to the behavior of the markdown-it-attrs plugin. The attributes only affect the nearest tag for inline binding.