Files

2090 lines
55 KiB
JSON

{
"_format": "scaffold_schema",
"_coverage": "partial: [--help, --version, --list-input-formats, --list-output-formats, --list-extensions, --list-highlight-languages, --list-highlight-styles, --bash-completion, --print-default-template, --print-default-data-file, --print-highlight-style, --dump-citeproc skipped (meta/info flags that print and exit); --variable-json omitted (complex JSON input not suitable for GUI); --html-q-tags, --link-images, --epub-subdirectory, --chunk-template, --progress-template omitted (very niche)]",
"tool": "pandoc",
"binary": "pandoc",
"description": "Universal document converter. Converts between markup formats including Markdown, HTML, LaTeX, Word docx, EPUB, PDF, and many more.",
"elevated": null,
"subcommands": null,
"arguments": [
{
"name": "Input Format",
"flag": "--from",
"short_flag": "-f",
"type": "string",
"description": "Input format. Extensions can be enabled/disabled with +EXT/-EXT syntax. Use --list-input-formats for full list.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"bibtex",
"commonmark",
"csv",
"djot",
"docx",
"epub",
"gfm",
"html",
"ipynb",
"json",
"latex",
"markdown",
"mediawiki",
"odt",
"org",
"rst",
"rtf",
"textile",
"tsv",
"typst"
],
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Output Format",
"flag": "--to",
"short_flag": "-t",
"type": "string",
"description": "Output format. Extensions can be enabled/disabled with +EXT/-EXT syntax. Use --list-output-formats for full list.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"beamer",
"commonmark",
"context",
"docx",
"epub",
"gfm",
"html",
"json",
"latex",
"man",
"markdown",
"ms",
"odt",
"pdf",
"plain",
"pptx",
"revealjs",
"rst",
"rtf",
"texinfo"
],
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Output File",
"flag": "--output",
"short_flag": "-o",
"type": "file",
"description": "Write output to FILE instead of stdout. Required for binary formats (docx, odt, epub, pdf). Use '-' for stdout.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"output.pdf",
"output.docx",
"output.html",
"output.epub"
],
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Data Directory",
"flag": "--data-dir",
"short_flag": null,
"type": "directory",
"description": "User data directory for pandoc data files (templates, reference docs, etc). Overrides default location.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Defaults File",
"flag": "--defaults",
"short_flag": "-d",
"type": "file",
"description": "YAML or JSON file with default option settings. Searched in working directory, then defaults/ subdirectory of user data directory.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Verbose",
"flag": "--verbose",
"short_flag": null,
"type": "boolean",
"description": "Give verbose debugging output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Quiet",
"flag": "--quiet",
"short_flag": null,
"type": "boolean",
"description": "Suppress warning messages.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Fail If Warnings",
"flag": "--fail-if-warnings",
"short_flag": null,
"type": "boolean",
"description": "Exit with error status if there are any warnings.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Log File",
"flag": "--log",
"short_flag": null,
"type": "file",
"description": "Write log messages in machine-readable JSON format to FILE.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "General",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Shift Heading Level By",
"flag": "--shift-heading-level-by",
"short_flag": null,
"type": "integer",
"description": "Shift heading levels by a positive or negative integer. Use -1 when converting docs that use H1 for title.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": -6,
"max": 6,
"deprecated": null,
"dangerous": false
},
{
"name": "Base Header Level",
"flag": "--base-header-level",
"short_flag": null,
"type": "integer",
"description": "Specify the base level for headings (defaults to 1).",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": 1,
"max": 6,
"deprecated": "Use --shift-heading-level-by=X instead, where X = NUMBER - 1.",
"dangerous": false
},
{
"name": "Indented Code Classes",
"flag": "--indented-code-classes",
"short_flag": null,
"type": "string",
"description": "Classes to use for indented code blocks. Multiple classes separated by spaces or commas.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"perl,numberLines",
"haskell",
"python"
],
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Default Image Extension",
"flag": "--default-image-extension",
"short_flag": null,
"type": "string",
"description": "Default extension for images with no extension. Affects Markdown and LaTeX readers.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
".png",
".jpg",
".svg",
".pdf"
],
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "File Scope",
"flag": "--file-scope",
"short_flag": null,
"type": "boolean",
"description": "Parse each file individually before combining. Allows footnotes in different files with same identifiers to work.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Filter",
"flag": "--filter",
"short_flag": "-F",
"type": "file",
"description": "External filter program (reads JSON from stdin, writes JSON to stdout). Applied in command-line order.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Lua Filter",
"flag": "--lua-filter",
"short_flag": "-L",
"type": "file",
"description": "Lua filter script for transforming the document. Applied in command-line order with --filter and --citeproc.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Metadata",
"flag": "--metadata",
"short_flag": "-M",
"type": "string",
"description": "Set metadata field KEY to VAL. Format: KEY=VAL or KEY:VAL. If no value, treated as boolean true.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"title=My Document",
"author=Jane Doe",
"date=2024-01-01",
"lang=en"
],
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Metadata File",
"flag": "--metadata-file",
"short_flag": null,
"type": "file",
"description": "Read metadata from YAML or JSON file. Can be used repeatedly; later files take precedence.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Preserve Tabs",
"flag": "--preserve-tabs",
"short_flag": "-p",
"type": "boolean",
"description": "Preserve tabs instead of converting them to spaces. Only affects tabs in literal code spans and code blocks.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Tab Stop",
"flag": "--tab-stop",
"short_flag": null,
"type": "integer",
"description": "Number of spaces per tab.",
"required": false,
"default": 4,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": 1,
"max": 16,
"deprecated": null,
"dangerous": false
},
{
"name": "Track Changes",
"flag": "--track-changes",
"short_flag": null,
"type": "enum",
"description": "How to handle MS Word Track Changes. Only affects the docx reader.",
"required": false,
"default": "accept",
"choices": [
"accept",
"reject",
"all"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Extract Media",
"flag": "--extract-media",
"short_flag": null,
"type": "directory",
"description": "Extract images and media from source document to this directory and adjust references.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Abbreviations",
"flag": "--abbreviations",
"short_flag": null,
"type": "file",
"description": "Custom abbreviations file, one per line. Used by the Markdown reader for non-breaking spaces.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Reader",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Standalone",
"flag": "--standalone",
"short_flag": "-s",
"type": "boolean",
"description": "Produce output with appropriate header and footer (e.g. a valid HTML file, not a fragment). Auto-set for pdf, epub, docx, odt.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Template",
"flag": "--template",
"short_flag": null,
"type": "file",
"description": "Custom template file for the generated document. Implies --standalone.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Variable",
"flag": "--variable",
"short_flag": "-V",
"type": "string",
"description": "Set template variable KEY=VAL. Can be used multiple times. Values accumulate into lists if key is repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"geometry:margin=1in",
"fontsize=12pt",
"documentclass=report",
"mainfont=Times New Roman",
"linestretch=1.5"
],
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Sandbox",
"flag": "--sandbox",
"short_flag": null,
"type": "boolean",
"description": "Run in sandbox mode, limiting IO operations. Recommended for untrusted input.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "EOL",
"flag": "--eol",
"short_flag": null,
"type": "enum",
"description": "Line ending style for output.",
"required": false,
"default": "native",
"choices": [
"crlf",
"lf",
"native"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "DPI",
"flag": "--dpi",
"short_flag": null,
"type": "integer",
"description": "Default DPI for pixel-to-inch/cm conversion.",
"required": false,
"default": 96,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": 1,
"max": 1200,
"deprecated": null,
"dangerous": false
},
{
"name": "Wrap",
"flag": "--wrap",
"short_flag": null,
"type": "enum",
"description": "Text wrapping in output source code. 'auto' wraps to --columns width, 'none' disables wrapping, 'preserve' keeps source wrapping.",
"required": false,
"default": "auto",
"choices": [
"auto",
"none",
"preserve"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Columns",
"flag": "--columns",
"short_flag": null,
"type": "integer",
"description": "Line length in characters for text wrapping and plain text table column widths.",
"required": false,
"default": 72,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": 1,
"max": 500,
"deprecated": null,
"dangerous": false
},
{
"name": "Table of Contents",
"flag": "--toc",
"short_flag": null,
"type": "boolean",
"description": "Include an automatically generated table of contents. Requires --standalone. No effect on man, docbook, jats output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "TOC Depth",
"flag": "--toc-depth",
"short_flag": null,
"type": "integer",
"description": "Number of section levels to include in the table of contents.",
"required": false,
"default": 3,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": 1,
"max": 6,
"deprecated": null,
"dangerous": false
},
{
"name": "List of Figures",
"flag": "--lof",
"short_flag": null,
"type": "boolean",
"description": "Include a list of figures. Only affects latex, context, and docx output. Requires --standalone.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "List of Tables",
"flag": "--lot",
"short_flag": null,
"type": "boolean",
"description": "Include a list of tables. Only affects latex, context, and docx output. Requires --standalone.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Strip Comments",
"flag": "--strip-comments",
"short_flag": null,
"type": "boolean",
"description": "Strip out HTML comments in Markdown or Textile source rather than passing them through.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Syntax Highlighting",
"flag": "--syntax-highlighting",
"short_flag": null,
"type": "string",
"description": "Method for code syntax highlighting. Use a style name, 'none', 'default', 'idiomatic', or a .theme file path.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"pygments",
"kate",
"monochrome",
"breezeDark",
"espresso",
"zenburn",
"haddock",
"tango",
"none",
"default",
"idiomatic"
],
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Highlight",
"flag": "--no-highlight",
"short_flag": null,
"type": "boolean",
"description": "Disables syntax highlighting for code blocks and inlines.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": "Use --syntax-highlighting=none instead.",
"dangerous": false
},
{
"name": "Highlight Style",
"flag": "--highlight-style",
"short_flag": null,
"type": "string",
"description": "Coloring style for highlighted source code.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"pygments",
"kate",
"monochrome",
"breezeDark",
"espresso",
"zenburn",
"haddock",
"tango"
],
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": "Use --syntax-highlighting=STYLE instead.",
"dangerous": false
},
{
"name": "Syntax Definition",
"flag": "--syntax-definition",
"short_flag": null,
"type": "file",
"description": "KDE XML syntax definition file for additional language highlighting support.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Include In Header",
"flag": "--include-in-header",
"short_flag": "-H",
"type": "file",
"description": "Include contents of FILE at end of header. Implies --standalone. Can be repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Include Before Body",
"flag": "--include-before-body",
"short_flag": "-B",
"type": "file",
"description": "Include contents of FILE at beginning of document body. Implies --standalone. Can be repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Include After Body",
"flag": "--include-after-body",
"short_flag": "-A",
"type": "file",
"description": "Include contents of FILE at end of document body. Implies --standalone. Can be repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Resource Path",
"flag": "--resource-path",
"short_flag": null,
"type": "string",
"description": "Colon-separated (Unix) or semicolon-separated (Windows) list of paths to search for images and resources.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
".:images",
".:media:figures"
],
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Request Header",
"flag": "--request-header",
"short_flag": null,
"type": "string",
"description": "Set HTTP request header NAME:VAL when fetching resources from URLs.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"User-Agent:Mozilla/5.0"
],
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Check Certificate",
"flag": "--no-check-certificate",
"short_flag": null,
"type": "boolean",
"description": "Disable HTTPS certificate verification. Use for self-signed or expired certificates.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Writer",
"min": null,
"max": null,
"deprecated": null,
"dangerous": true
},
{
"name": "Embed Resources",
"flag": "--embed-resources",
"short_flag": null,
"type": "boolean",
"description": "Produce standalone HTML with all resources embedded as data: URIs. Works only with HTML output formats.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Self Contained",
"flag": "--self-contained",
"short_flag": null,
"type": "boolean",
"description": "Produce standalone HTML with embedded resources.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": "Use --embed-resources --standalone instead.",
"dangerous": false
},
{
"name": "ASCII",
"flag": "--ascii",
"short_flag": null,
"type": "boolean",
"description": "Use only ASCII characters in output. Supported for XML, HTML, Markdown, roff, and limited LaTeX.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Section Divs",
"flag": "--section-divs",
"short_flag": null,
"type": "boolean",
"description": "Wrap sections in <section> tags (or <div> for html4) and attach identifiers to the enclosing tag.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Email Obfuscation",
"flag": "--email-obfuscation",
"short_flag": null,
"type": "enum",
"description": "Method for obfuscating mailto: links in HTML.",
"required": false,
"default": "none",
"choices": [
"none",
"javascript",
"references"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "ID Prefix",
"flag": "--id-prefix",
"short_flag": null,
"type": "string",
"description": "Prefix for all auto-generated identifiers in HTML/DocBook output and footnote numbers in Markdown.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Title Prefix",
"flag": "--title-prefix",
"short_flag": "-T",
"type": "string",
"description": "Prefix for the HTML header title. Implies --standalone.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "CSS",
"flag": "--css",
"short_flag": "-c",
"type": "string",
"description": "Link to a CSS style sheet. Can be repeated for multiple files. Only affects HTML and EPUB output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"style.css",
"https://example.com/style.css"
],
"display_group": "HTML",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Reference Links",
"flag": "--reference-links",
"short_flag": null,
"type": "boolean",
"description": "Use reference-style links instead of inline links in Markdown/reStructuredText output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Markdown",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Reference Location",
"flag": "--reference-location",
"short_flag": null,
"type": "enum",
"description": "Where to place footnotes and reference links.",
"required": false,
"default": "document",
"choices": [
"block",
"section",
"document"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Markdown",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Markdown Headings",
"flag": "--markdown-headings",
"short_flag": null,
"type": "enum",
"description": "Heading style for Markdown output.",
"required": false,
"default": "atx",
"choices": [
"setext",
"atx"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Markdown",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Figure Caption Position",
"flag": "--figure-caption-position",
"short_flag": null,
"type": "enum",
"description": "Whether figure captions go above or below figures.",
"required": false,
"default": "below",
"choices": [
"above",
"below"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Layout",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Table Caption Position",
"flag": "--table-caption-position",
"short_flag": null,
"type": "enum",
"description": "Whether table captions go above or below tables.",
"required": false,
"default": "above",
"choices": [
"above",
"below"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Layout",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Top Level Division",
"flag": "--top-level-division",
"short_flag": null,
"type": "enum",
"description": "Treat top-level headings as this division type in LaTeX, ConTeXt, DocBook, TEI output.",
"required": false,
"default": null,
"choices": [
"default",
"section",
"chapter",
"part"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Layout",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Number Sections",
"flag": "--number-sections",
"short_flag": "-N",
"type": "boolean",
"description": "Number section headings in LaTeX, ConTeXt, HTML, Docx, ms, or EPUB output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Layout",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Number Offset",
"flag": "--number-offset",
"short_flag": null,
"type": "string",
"description": "Offsets for section heading numbers, comma-separated. Implies --number-sections.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"5",
"1,4",
"0,0,3"
],
"display_group": "Layout",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Incremental",
"flag": "--incremental",
"short_flag": "-i",
"type": "boolean",
"description": "Make list items in slide shows display incrementally (one by one).",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Slides",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Slide Level",
"flag": "--slide-level",
"short_flag": null,
"type": "integer",
"description": "Heading level that creates slides. Headings above become section dividers, below become subheads.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Slides",
"min": 0,
"max": 6,
"deprecated": null,
"dangerous": false
},
{
"name": "Reference Doc",
"flag": "--reference-doc",
"short_flag": null,
"type": "file",
"description": "Style reference file for docx, ODT, or PowerPoint output. Content is ignored; styles/properties are used.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Document",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "List Tables",
"flag": "--list-tables",
"short_flag": null,
"type": "boolean",
"description": "Render tables as list tables in RST output.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Document",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "EPUB Cover Image",
"flag": "--epub-cover-image",
"short_flag": null,
"type": "file",
"description": "Image file to use as EPUB cover. Recommended: less than 1000px width/height.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "EPUB Title Page",
"flag": "--epub-title-page",
"short_flag": null,
"type": "enum",
"description": "Whether to include a title page in the EPUB.",
"required": false,
"default": "true",
"choices": [
"true",
"false"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "EPUB Metadata",
"flag": "--epub-metadata",
"short_flag": null,
"type": "file",
"description": "XML file containing Dublin Core metadata elements for the EPUB.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "EPUB Embed Font",
"flag": "--epub-embed-font",
"short_flag": null,
"type": "file",
"description": "Font file to embed in the EPUB. Can be repeated. Supports wildcards.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Split Level",
"flag": "--split-level",
"short_flag": null,
"type": "integer",
"description": "Heading level at which to split EPUB or chunked HTML into separate files.",
"required": false,
"default": 1,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": 1,
"max": 6,
"deprecated": null,
"dangerous": false
},
{
"name": "EPUB Chapter Level",
"flag": "--epub-chapter-level",
"short_flag": null,
"type": "integer",
"description": "Heading level for EPUB chapter splitting.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "EPUB",
"min": 1,
"max": 6,
"deprecated": "Use --split-level instead.",
"dangerous": false
},
{
"name": "PDF Engine",
"flag": "--pdf-engine",
"short_flag": null,
"type": "string",
"description": "Engine for PDF generation. Default depends on output format.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"pdflatex",
"xelatex",
"lualatex",
"latexmk",
"tectonic",
"wkhtmltopdf",
"weasyprint",
"pagedjs-cli",
"prince",
"context",
"groff",
"pdfroff",
"typst"
],
"display_group": "PDF",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "PDF Engine Option",
"flag": "--pdf-engine-opt",
"short_flag": null,
"type": "string",
"description": "Command-line argument to pass to the PDF engine. Can be repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"-shell-escape",
"-outdir=foo"
],
"display_group": "PDF",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Citeproc",
"flag": "--citeproc",
"short_flag": "-C",
"type": "boolean",
"description": "Process citations, replacing them with rendered citations and adding a bibliography. Requires --bibliography or bibliography metadata.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Bibliography",
"flag": "--bibliography",
"short_flag": null,
"type": "file",
"description": "Bibliography file for citation processing. Can be repeated for multiple files. Supports BibTeX, BibLaTeX, CSL JSON/YAML, and more.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "CSL",
"flag": "--csl",
"short_flag": null,
"type": "file",
"description": "CSL stylesheet for citation formatting. Default: chicago-author-date.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Citation Abbreviations",
"flag": "--citation-abbreviations",
"short_flag": null,
"type": "file",
"description": "File with citation abbreviations in CSL JSON format.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Natbib",
"flag": "--natbib",
"short_flag": null,
"type": "boolean",
"description": "Use natbib for citations in LaTeX output. Not for use with --citeproc or PDF output. For producing .tex files processed with bibtex.",
"required": false,
"default": null,
"choices": null,
"group": "cite_method",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Biblatex",
"flag": "--biblatex",
"short_flag": null,
"type": "boolean",
"description": "Use biblatex for citations in LaTeX output. Not for use with --citeproc or PDF output. For producing .tex files processed with biber.",
"required": false,
"default": null,
"choices": null,
"group": "cite_method",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Citations",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "MathJax",
"flag": "--mathjax",
"short_flag": null,
"type": "string",
"description": "Use MathJax to render TeX math in HTML. Optional URL to MathJax script; if omitted, Cloudflare CDN is used.",
"required": false,
"default": null,
"choices": null,
"group": "math_method",
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": [
"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"
],
"display_group": "Math",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "MathML",
"flag": "--mathml",
"short_flag": null,
"type": "boolean",
"description": "Convert TeX math to MathML. Used with HTML and Docbook output formats.",
"required": false,
"default": null,
"choices": null,
"group": "math_method",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Math",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "WebTeX",
"flag": "--webtex",
"short_flag": null,
"type": "string",
"description": "Convert TeX formulas to <img> tags linking to an external rendering service.",
"required": false,
"default": null,
"choices": null,
"group": "math_method",
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Math",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "KaTeX",
"flag": "--katex",
"short_flag": null,
"type": "string",
"description": "Use KaTeX to render TeX math in HTML. Optional URL to KaTeX files.",
"required": false,
"default": null,
"choices": null,
"group": "math_method",
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Math",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "GladTeX",
"flag": "--gladtex",
"short_flag": null,
"type": "boolean",
"description": "Enclose TeX math in <eq> tags for gladTeX processing.",
"required": false,
"default": null,
"choices": null,
"group": "math_method",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Math",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "IPyNB Output",
"flag": "--ipynb-output",
"short_flag": null,
"type": "enum",
"description": "How to treat ipynb output cells.",
"required": false,
"default": "best",
"choices": [
"all",
"none",
"best"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "equals",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Jupyter",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Input Files",
"flag": "INPUT",
"short_flag": null,
"type": "string",
"description": "Input file(s) to convert. If not specified, reads from stdin. Multiple files are concatenated with blank lines between them.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": [
"input.md",
"chapter1.md",
"document.docx",
"paper.tex"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
}