trenz-gmbh / trenz-docs

An SPA wiki made by TRENZ
MIT License
3 stars 0 forks source link

Support figcaption? #22

Open chucker opened 2 years ago

chucker commented 2 years ago

Markdig has syntax for figure captions.

However, Azure DevOps doesn't seem to currently support this either.

ricardoboss commented 2 years ago

We can already use HTML code within markdown since Marked.js supports this: https://github.github.com/gfm/#html-blocks (progress of implementing GHFM: https://github.com/markedjs/marked/discussions/1202)

ricardoboss commented 2 years ago

Tested using https://github.com/ricardoboss/trenz-docs-test/blob/937dc5d12f2b64a6440aa09cb61be2cd6f253f11/docs/GHFM.md?plain=1#L41

ricardoboss commented 2 years ago

This brought a new issue to light: the link to the image within the figure doesn't get replaced...

chucker commented 2 years ago

This brought a new issue to light: the link to the image within the figure doesn't get replaced...

Yes, this wouldn't work. Both Azure DevOps and TRENZ Docs get confused by the relative URL.