arve0/markdown-it-implicit-figures

Support structured markup in caption

dgerber opened this issue · 1 comments

To support this:

![This image is from [source](source-link)](img.jpg)

Patch:

52c52,54
<           token.children.splice(token.children.length, 0, ...image.children)
---
>           token.children.push(
>             md.utils.assign({}, image.children[0])
>             );
arve0 commented

Fixed in v0.8.0.