Open Cloud-Awesome opened 2 years ago
As these are DocFX specific, are (intentional) variations away from GFM(?) they should be included in an explicit separate namespace.
e.g. something like
var warningBox = new DocFx.MdInfoBox("This is the content of the box", MdInfoBoxType.Warning)
which produces:
> [!WARNING]
> This is the content of the box
>
Keep in mind conversion to PDF should always be supported. Each component needs to be supported for web and PDF (preferably).
e.g. the tabbed content wouldn't translate very well into a PDF? ;)
Also consider (but maybe later)
c.f. https://dotnet.github.io/docfx/spec/docfx_flavored_markdown.html?tabs=tabid-1%2Ctabid-a