mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

Embed inline shorthand produces different results to explicit directive.

Open fperez opened this issue 7 months ago • 2 comments
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:
![](#mylabel)

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:

Image

fperez avatar Mar 29 '25 01:03 fperez