xoofx / markdig

A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
BSD 2-Clause "Simplified" License
4.25k stars 445 forks source link

Inline figures #602

Open LukeTOBrien opened 2 years ago

LukeTOBrien commented 2 years ago

Hello,

I've just been looking at ways of including figures in my markdown document, I notice you have Figure support with fenced code but I am working on a project where my user base are teachers and non-tech people, I think fenced could be too daunting for them, although it does offer more flexibility.
I would like to suggest inline <figure> and <figcaption> as per markdown-it-image-figures.

What do you think?

xoofx commented 2 years ago

Yep, that can be done as an extension. PR Welcome