Skip to content

Formats and compatibility

Open in

carta names formats the way pandoc does, so a command written for one runs against the other. A format name may carry extension toggles (markdown+hard_line_breaks-raw_html), and carta --list-extensions=<format> prints the set a given format accepts.

Markdown family

FormatNamesReaderWriterCargo features
CommonMarkcommonmark Usable Usableread-commonmark write-commonmark
CommonMark-Xcommonmark_x Usable Usableread-commonmark write-markdown
Djotdjot Not started Not started
GitHub-Flavored Markdowngfm Usable Usableread-commonmark write-gfm
Pandoc Markdownmarkdown Usable Usableread-commonmark write-markdown
GitHub Markdown, legacymarkdown_github Usable Usableread-commonmark write-markdown
MultiMarkdownmarkdown_mmd Usable Usableread-commonmark write-markdown
PHP Markdown Extramarkdown_phpextra Usable Usableread-commonmark write-markdown
Markdown strictmarkdown_strict Usable Usableread-commonmark write-markdown
Markuamarkua Not applicable Not started

HTML & slides

FormatNamesReaderWriterCargo features
Beamerbeamer Not applicable Usablewrite-beamer
Chunked HTMLchunkedhtml Not applicable Not started
DZSlidesdzslides Not applicable Not started
HTMLhtml html5 Usable Usableread-html write-html
HTML 4html4 Not applicable Usablewrite-html4
PowerPointpptx Not started Not started
reveal.jsrevealjs Not applicable Usablewrite-revealjs
S5s5 Not applicable Not started
Slideousslideous Not applicable Not started
Slidyslidy Not applicable Not started

TeX & typesetting

FormatNamesReaderWriterCargo features
ConTeXtcontext Not applicable Not started
LaTeXlatex Usable Usableread-latex write-latex
PDFpdf Not applicable Not started
Texinfotexinfo Not applicable Not started
Typsttypst Not started Usablewrite-typst

Lightweight markup

FormatNamesReaderWriterCargo features
AsciiDocasciidoc Not started Usablewrite-asciidoc
AsciiDoc legacyasciidoc_legacy Not applicable Not started
Asciidoctorasciidoctor Not applicable Not started
Haddockhaddock Not started Not started
Musemuse Not started Not started
Org modeorg Usable Usableread-org write-org
Perl PODpod Not started Not applicable
reStructuredTextrst Usable Usableread-rst write-rst
txt2tagst2t Not started Not applicable
Textiletextile Not started Not started

Wikis

FormatNamesReaderWriterCargo features
Creolecreole Not started Not applicable
DokuWikidokuwiki Usable Usableread-dokuwiki write-dokuwiki
Jirajira Usable Usableread-jira write-jira
MediaWikimediawiki Usable Usableread-mediawiki write-mediawiki
TikiWikitikiwiki Not started Not applicable
TWikitwiki Not started Not applicable
Vimwikivimwiki Not started Not applicable
XWikixwiki Not applicable Not started
ZimWikizimwiki Not applicable Not started

roff

FormatNamesReaderWriterCargo features
manman Usable Usableread-man write-man
mdocmdoc Not started Not applicable
msms Not applicable Not started
vimdocvimdoc Not applicable Not started

Word processor, ebook & notebook

FormatNamesReaderWriterCargo features
Worddocx Usable Usableread-docx write-docx
EPUBepub epub2 epub3 Usable Usableread-epub write-epub
FictionBook2fb2 Not started Not started
InDesign ICMLicml Not applicable Not started
Jupyter Notebookipynb Usable Usableread-ipynb write-ipynb
OpenDocument Textodt Usable Usableread-odt write-odt
OpenDocumentopendocument Not applicable Not started
Rich Text Formatrtf Usable Usableread-rtf write-rtf
Spreadsheetxlsx Not started Not applicable

XML & publishing

FormatNamesReaderWriterCargo features
BITSbits Not started Not applicable
DocBookdocbook docbook4 docbook5 Not started Not started
JATSjats jats_archiving jats_articleauthoring jats_publishing Not started Not started
TEItei Not applicable Not started
Generic XMLxml Not started Not started

Bibliography

FormatNamesReaderWriterCargo features
BibLaTeXbiblatex Not started Not started
BibTeXbibtex Not started Not started
CSL JSONcsljson Not started Not started
EndNote XMLendnotexml Not started Not applicable
RISris Not started Not applicable

Data, interchange & terminal

FormatNamesReaderWriterCargo features
ANSI terminalansi Not applicable Not started
BBCodebbcode bbcode_fluxbb bbcode_hubzilla bbcode_phpbb bbcode_steam bbcode_xenforo Not applicable Not started
CSVcsv Usable Not applicableread-csv
Pandoc JSONjson Usable Usableread-json write-json
Native Pandoc ASTnative Usable Usableread-native write-native
OPMLopml Usable Usableread-opml write-opml
Plain textplain Not applicable Usablewrite-plain
TSVtsv Usable Not applicableread-tsv

Supported

smartstrikeoutsuperscriptsubscriptpipe_tablesfootnotestask_listsautolink_bare_uristex_math_dollarsfenced_divsbracketed_spanshard_line_breaksraw_htmlheader_attributesfenced_code_attributesinline_code_attributeslink_attributesattributesdefinition_listsgrid_tablesmultiline_tablessimple_tablestable_captionsline_blocksfancy_listsexample_listsstartnumyaml_metadata_blockpandoc_title_blockauto_identifiersgfm_auto_identifiersimplicit_header_referencesimplicit_figuresraw_attributeinline_notesnative_divsnative_spansmarkdown_in_html_blocksraw_texcitationstable_attributesblank_before_blockquoteblank_before_headermarkemojialertstex_math_single_backslashtex_math_double_backslashlists_without_preceding_blanklineintraword_underscoresbacktick_code_blocksfenced_code_blocksescaped_line_breaksspace_in_atx_headerall_symbols_escapablespaced_reference_linksshort_subsuperscriptsmmd_title_blockmmd_header_identifiersabbreviationsmarkdown_attribute

Recognized, behavior not yet modeled

These names are already recognized internally, but the reader does not yet branch on the construct:

latex_macroswikilinks_title_after_pipewikilinks_title_before_pipeascii_identifiersmmd_link_attributesold_dasheseast_asian_line_breaksfour_space_ruleliterate_haskellrebase_relative_pathsgutenbergangle_brackets_escapableignore_line_breaksraw_markdown