{"tools": {"pandoc": "pandoc 2.17.1.1", "tectonic": "tectonic 0.15.0Tectonic 0.15.0", "pdftotext": "pdftotext version 22.12.0", "mmdc": "11.16.0"}, "accept": ".adoc,.asciidoc,.csv,.djot,.docbook,.docx,.epub,.fb2,.htm,.html,.ipynb,.jira,.latex,.ltx,.man,.markdown,.md,.mdown,.mediawiki,.mkd,.muse,.odt,.opml,.org,.pdf,.pptx,.rst,.rtf,.tex,.text,.textile,.tsv,.txt,.typ,.wiki,.xhtml,.xlsx", "importable_extensions": [".adoc", ".asciidoc", ".csv", ".djot", ".docbook", ".docx", ".epub", ".fb2", ".htm", ".html", ".ipynb", ".jira", ".latex", ".ltx", ".man", ".markdown", ".md", ".mdown", ".mediawiki", ".mkd", ".muse", ".odt", ".opml", ".org", ".pdf", ".pptx", ".rst", ".rtf", ".tex", ".text", ".textile", ".tsv", ".txt", ".typ", ".wiki", ".xhtml", ".xlsx"], "routes": [{"method": "GET", "path": "/docs/", "description": "Interactive API documentation."}, {"method": "GET", "path": "/health", "description": "Tool availability and versions."}, {"method": "GET", "path": "/formats", "description": "Supported formats and routes."}, {"method": "POST", "path": "/preview", "description": "Render markdown to preview HTML."}, {"method": "POST", "path": "/validate", "description": "Validate markdown for publishing."}, {"method": "POST", "path": "/analyze", "description": "Document stats and outline."}, {"method": "POST", "path": "/text/{key}", "description": "Convert markdown to text."}, {"method": "POST", "path": "/download/{key}", "description": "Convert markdown to a file."}, {"method": "POST", "path": "/import/html", "description": "Convert pasted HTML to markdown."}, {"method": "POST", "path": "/import/file", "description": "Import an uploaded document."}], "text": [{"key": "html", "label": "HTML", "extension": ".html", "mimetype": "text/html", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/html"}, {"key": "html_doc", "label": "Standalone HTML", "extension": ".html", "mimetype": "text/html", "standalone": true, "available": true, "requires": ["pandoc"], "endpoint": "/text/html_doc"}, {"key": "latex", "label": "LaTeX", "extension": ".tex", "mimetype": "application/x-tex", "standalone": true, "available": true, "requires": ["pandoc"], "endpoint": "/text/latex"}, {"key": "rst", "label": "reStructuredText", "extension": ".rst", "mimetype": "text/x-rst", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/rst"}, {"key": "gfm", "label": "Markdown (GFM)", "extension": ".md", "mimetype": "text/markdown", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/gfm"}, {"key": "org", "label": "Org-mode", "extension": ".org", "mimetype": "text/x-org", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/org"}, {"key": "asciidoc", "label": "AsciiDoc", "extension": ".adoc", "mimetype": "text/plain", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/asciidoc"}, {"key": "typst", "label": "Typst", "extension": ".typ", "mimetype": "text/x-typst", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/typst"}, {"key": "mediawiki", "label": "MediaWiki", "extension": ".wiki", "mimetype": "text/plain", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/mediawiki"}, {"key": "textile", "label": "Textile", "extension": ".textile", "mimetype": "text/plain", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/textile"}, {"key": "docbook", "label": "DocBook", "extension": ".dbk", "mimetype": "application/docbook+xml", "standalone": true, "available": true, "requires": ["pandoc"], "endpoint": "/text/docbook"}, {"key": "plain", "label": "Plain text", "extension": ".txt", "mimetype": "text/plain", "standalone": false, "available": true, "requires": ["pandoc"], "endpoint": "/text/plain"}], "binary": [{"key": "pdf", "label": "PDF", "extension": ".pdf", "mimetype": "application/pdf", "available": true, "requires": ["pandoc", "tectonic"], "endpoint": "/download/pdf"}, {"key": "docx", "label": "Word (DOCX)", "extension": ".docx", "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "available": true, "requires": ["pandoc"], "endpoint": "/download/docx"}, {"key": "odt", "label": "OpenDocument (ODT)", "extension": ".odt", "mimetype": "application/vnd.oasis.opendocument.text", "available": true, "requires": ["pandoc"], "endpoint": "/download/odt"}, {"key": "pptx", "label": "PowerPoint (PPTX)", "extension": ".pptx", "mimetype": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "available": true, "requires": ["pandoc"], "endpoint": "/download/pptx"}, {"key": "epub", "label": "EPUB", "extension": ".epub", "mimetype": "application/epub+zip", "available": true, "requires": ["pandoc"], "endpoint": "/download/epub"}, {"key": "rtf", "label": "RTF", "extension": ".rtf", "mimetype": "application/rtf", "available": true, "requires": ["pandoc"], "endpoint": "/download/rtf"}, {"key": "fb2", "label": "FB2", "extension": ".fb2", "mimetype": "application/x-fictionbook+xml", "available": true, "requires": ["pandoc"], "endpoint": "/download/fb2"}], "import": [{"key": "markdown", "label": "Markdown / plain text", "extensions": [".markdown", ".md", ".mdown", ".mkd", ".text", ".txt"], "requires": [], "tool": null, "available": true, "endpoint": "/import/file"}, {"key": "office", "label": "Office documents", "extensions": [".docx", ".odt", ".rtf", ".pptx", ".xlsx"], "requires": ["pandoc"], "tool": "pandoc", "available": true, "endpoint": "/import/file"}, {"key": "web", "label": "Web and ebooks", "extensions": [".html", ".htm", ".xhtml", ".epub", ".fb2"], "requires": ["pandoc"], "tool": "pandoc", "available": true, "endpoint": "/import/file"}, {"key": "source", "label": "Markup and source formats", "extensions": [".adoc", ".asciidoc", ".csv", ".djot", ".docbook", ".ipynb", ".jira", ".latex", ".ltx", ".man", ".mediawiki", ".muse", ".opml", ".org", ".rst", ".tex", ".textile", ".tsv", ".typ", ".wiki"], "requires": ["pandoc"], "tool": "pandoc", "available": true, "endpoint": "/import/file"}, {"key": "pdf", "label": "PDF", "extensions": [".pdf"], "requires": ["pdftotext"], "tool": "pdftotext", "available": true, "endpoint": "/import/file"}]}