md-to-incodoc
Convert markdown to incodoc.
converted:
- paragraph -> paragraph
- heading -> section with headings
- lists
- unordered -> identical
- ordered -> distinct
- checked -> checked
- tables
- nested tables not supported by parser but conversion possible
- lists in tables not supported by parser but conversion possible
- tables in lists supported
- text alignment -> discarded
- code
- inline -> text tagged "code"
- block -> codeblock
- emphasis
- emphasis -> light emphasis
- strong -> medium emphasis
- emphasis strong -> strong emphasis
strikethrough -> medium deemphasis
- soft/hard breaks and rule -> soft break
- super/sub script -> text/emphasis with tags "super" and "sub"
- link -> link, corporeal link types discarded
- image -> link tagged as image
- html
- html block -> code block tagged "unconv-corp" (unconverted corporeal content)
- inline html -> inside "html()" enclosure, text with html tags stripped
- math
- inline -> text tagged "latex-math"
- display -> code block with language set "latex-math" and mode set "replace"
- footnotes
- footnote reference -> link with tag
- footnote definition -> section with tag and id to be linked by
- block quote -> section with tag and possible type
- metadata block
- pluses metadata block -> document nav and meta
- yaml metadata block -> discarded
might do:
- add tags and prop within nav
not yet supported in incodoc: