mystmd
mystmd copied to clipboard
Embed inline shorthand produces different results to explicit directive.
trafficstars
The docs describe the inline and explicit syntaxes for {embed} as equivalent. However, I have a document with:
# Explicit Embed:
:::{embed} #mylabel
:::
# Inline Embed:

and elsewhere in another file (included in the toc), I have:
:::{note} My info block
:label: mylabel
**A literal block:**
```
Line 1
Line 2
etc...
```
:::
The two forms of embedding are supposed to produce the same results, but I'm getting: