Parent
#26 — H0 — Markdown Import/Export (full round-trip)
What to build
Two more export formats on top of the Markdown export, for the SSG-generation usecase (author docs in Lekhan, build them with Docusaurus/MDX toolchains elsewhere):
- MDX (
.mdx): the same markdown body with inline HTML preserved (valid MDX), saved with the .mdx extension.
- HTML (
.html): the editor's rendered HTML wrapped in a minimal standalone document.
Both are ungated (free on every tier), alongside the Markdown/DOCX/PDF items in the same Export menu.
Acceptance criteria
Blocked by
Parent
#26 — H0 — Markdown Import/Export (full round-trip)
What to build
Two more export formats on top of the Markdown export, for the SSG-generation usecase (author docs in Lekhan, build them with Docusaurus/MDX toolchains elsewhere):
.mdx): the same markdown body with inline HTML preserved (valid MDX), saved with the.mdxextension..html): the editor's rendered HTML wrapped in a minimal standalone document.Both are ungated (free on every tier), alongside the Markdown/DOCX/PDF items in the same Export menu.
Acceptance criteria
Download as MDX (.mdx)andDownload as HTML (.html)..mdxextension; usable as a Docusaurus/MDX doc source.editor.getHTML()wrapped in a minimal<html>document, saved as.html.npm run lintandnpm run buildgreen.Blocked by