javalent / markdown-attributes

Add attributes to elements in Obsidian
MIT License
94 stars 7 forks source link

Attributes not recognized on a callout ending in a code block #20

Closed Jnosh closed 1 year ago

Jnosh commented 1 year ago

Attributes not recognized on a callout ending in a code block:

>This doesn't work:
>
>```
>Lorem ipsum dolor sit amet.
>```
{ .class }

Instead an empty paragraph with the given attributes is inserted at the end of the callout.

p

If there is any content after the code block, the attributes are correctly attached to the callout.

>But this does:
>
>```
>Lorem ipsum dolor sit amet.
>```
>... because of the content after the code block...
{ .class }
sigrunixia commented 1 year ago

Related to #19

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.