Skip to content

Implement our own markdown rendering#1

Merged
davesnx merged 13 commits intomarkdown-outputfrom
vendor-cmarkit
Jun 6, 2025
Merged

Implement our own markdown rendering#1
davesnx merged 13 commits intomarkdown-outputfrom
vendor-cmarkit

Conversation

@davesnx
Copy link
Copy Markdown
Owner

@davesnx davesnx commented Jun 6, 2025

Depending on cmarkit was unfortunate, due to a few reasons:

  • Lowerbound is 4.14
  • All the use-cases of rendering markdown weren't needed, in case of markdown generator a small subset of the language was needed, and more importantly a rigid format
  • cmarkit brings a big dependency for a limited usage of it (even used in odoc_md, that wasn't acceptable for odoc itself)

This PR vendors and highly modifies the rendering part that is interesting to odoc. It leaves all room for growing and iterating over and being just a file, makes it possible.

@davesnx davesnx merged commit c63125d into markdown-output Jun 6, 2025
davesnx pushed a commit that referenced this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant