Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Supported Formats

The format is detected by extension and magic bytes. Override it with --format.

GroupFormatExtensionsNotes
DocumentsPDF.pdfLayout-aware: headings, paragraphs, lists, tables
Word.docxHeadings, styles, lists, tables, hyperlinks
PowerPoint.pptxSlides, titles, bullets, tables, speaker notes
EPUB.epubChapter structure preserved
MarkupreStructuredText.rst
Org-mode.org
MediaWiki.wiki, .mediawiki
AsciiDoc.adoc, .asciidoc
SpreadsheetsExcel.xlsx, .xls, .xlsb, .ods
DataSQLite.sqlite, .sqlite3, .db
MediaImage.png, .jpg, .jpeg, .gif, .webp, .svg, .bmp, .tiffOCR with --format ocr
Audio.mp3, .wav, .flac, .ogg, .m4a, .aac, .wma
Video.mp4, .mkv, .avi, .mov, .webm, .m4v, .wmv, .flv
ArchivesZIP, TAR.zip, .tar, .tgz

--format values: excel, pdf, powerpoint, word, image, zip, epub, audio, sqlite, tar, video, ocr, markdown-docx, rst, org, mediawiki, asciidoc.

CSV, HTML, JSON, YAML, TOML and XML

mq reads these directly, so mq-conv does not handle them:

mq -I csv 'include "csv" | csv_to_markdown_table(.)' data.csv
mq -I html '.' page.html
mq -I json '.' data.json   # also yaml, toml and xml