md-to-incodoc

Crates.iomd-to-incodoc
lib.rsmd-to-incodoc
version0.2.1
created_at2025-09-17 14:07:46.494586+00
updated_at2025-09-19 18:46:50.726119+00
descriptionConvert markdown to incodoc.
homepage
repositoryhttps://github.com/codybloemhard/md-to-incodoc
max_upload_size
id1843386
size174,943
Cody Bloemhard (codybloemhard)

documentation

README

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:

  • definition list
Commit count: 33

cargo fmt