Markdown to ODT, explained
Create an OpenDocument Text file for LibreOffice Writer, Collabora Online or any editor that supports the open ISO standard. As with the Word export, the structure maps to real paragraph styles.
What is converted, and how
- Headings
- The Heading 1 to Heading 6 paragraph styles, so the Navigator and an automatic table of contents work.
- Lists and tables
- Native OpenDocument lists and tables.
- Code
- A monospaced preformatted style.
- Footnotes
- Real footnotes.
- Front matter
- YAML
title,authoranddateappear at the top of the document.
Limitations
- Images are only included when embedded as
data:URIs. - Default styles only; raw HTML is left out.
Tips
- Change the look in LibreOffice through the Styles deck (F11).
- LibreOffice can export the file to PDF/A for long-term archiving.
- Word and Google Docs open .odt files too.
- Not sure about the syntax? See the Markdown cheat sheet.
Other formats
- Markdown to PDFA4, clean typography, syntax-highlighted code.
- Markdown to WordHeadings map to Word heading styles, so the navigation pane works.
- Markdown to ExcelEach table becomes a sheet named after the heading above it. Numbers stay numbers. No tables? One paragraph per row.
- Markdown to PowerPointEvery heading starts a new slide.
- Markdown to RTFOpens almost everywhere, including WordPad and TextEdit.
- Markdown to EPUBTop-level headings become chapters.
- Markdown to HTMLSingle standalone page with styles inlined.
- Markdown to LaTeXStandalone .tex, ready for pdfLaTeX, XeLaTeX or Overleaf.
- Markdown to Plain textMarkdown syntax removed, structure kept readable.