Path: blob/main/src/resources/schema/document-render.yml
12925 views
- name: from1alias: reader2schema: string3default: markdown4description:5short: "Format to read from"6long: |7Format to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).89- name: output-file10schema:11ref: pandoc-format-output-file12default: "Input filename with output extension (e.g. .pdf, .html, etc.)"13description: "Output file to write to"1415- name: output-ext16schema: string17description: |18Extension to use for generated output file1920- name: template21disabled: [$office-all, ipynb]22schema: path23description: |24Use the specified file as a custom template for the generated document.2526- name: template-partials27disabled: [$office-all, ipynb]28schema:29maybeArrayOf: path30description: |31Include the specified files as partials accessible to the template for the generated content.3233- name: embed-resources34tags:35formats: [$html-files]36schema: boolean37default: false38description:39short: "Produce a standalone HTML file with no external dependencies"40long: |41Produce a standalone HTML file with no external dependencies, using42`data:` URIs to incorporate the contents of linked scripts, stylesheets,43images, and videos. The resulting file should be "self-contained," in the44sense that it needs no external files and no net access to be displayed45properly by a browser. This option works only with HTML output formats,46including `html4`, `html5`, `html+lhs`, `html5+lhs`, `s5`, `slidy`,47`slideous`, `dzslides`, and `revealjs`. Scripts, images, and stylesheets at48absolute URLs will be downloaded; those at relative URLs will be sought49relative to the working directory (if the first source50file is local) or relative to the base URL (if the first source51file is remote). Elements with the attribute52`data-external="1"` will be left alone; the documents they53link to will not be incorporated in the document.54Limitation: resources that are loaded dynamically through55JavaScript cannot be incorporated; as a result, some56advanced features (e.g. zoom or speaker notes) may not work57in an offline "self-contained" `reveal.js` slide show.5859- name: self-contained60tags:61formats: [$html-files]62schema: boolean63default: false64hidden: true65description:66short: "Produce a standalone HTML file with no external dependencies"67long: |68Produce a standalone HTML file with no external dependencies. Note that69this option has been deprecated in favor of `embed-resources`.7071- name: self-contained-math72tags:73formats: [$html-files]74schema: boolean75default: false76description:77short: "Embed math libraries (e.g. MathJax) within `self-contained` output."78long: |79Embed math libraries (e.g. MathJax) within `self-contained` output.80Note that math libraries are not embedded by default because they are81quite large and often time consuming to download.8283- name: filters84schema:85ref: pandoc-format-filters86description: |87Specify executables or Lua scripts to be used as a filter transforming88the pandoc AST after the input is parsed and before the output is written.8990- name: shortcodes91schema:92ref: pandoc-shortcodes93description: |94Specify Lua scripts that implement shortcode handlers9596- name: keep-md97schema: boolean98default: false99tags:100contexts: [document-execute]101description: "Keep the markdown file generated by executing code"102103- name: keep-ipynb104schema: boolean105default: false106tags:107contexts: [document-execute]108description: "Keep the notebook file generated from executing code."109110- name: ipynb-filters111schema:112arrayOf: "string"113tags:114contexts: [document-execute]115description: "Filters to pre-process ipynb files before rendering to markdown"116117- name: ipynb-shell-interactivity118schema:119enum: [null, all, last, last_expr, none, last_expr_or_assign]120tags:121contexts: [document-execute]122engine: jupyter123description: |124Specify which nodes should be run interactively (displaying output from expressions)125126- name: plotly-connected127schema: boolean128default: false129tags:130contexts: [document-execute]131engine: jupyter132description: |133If true, use the "notebook_connected" plotly renderer, which downloads134its dependencies from a CDN and requires an internet connection to view.135136- name: keep-typ137tags:138formats: [typst]139schema: boolean140default: false141description: "Keep the intermediate typst file used during render."142143- name: keep-tex144tags:145formats: [pdf, beamer]146schema: boolean147default: false148description: "Keep the intermediate tex file used during render."149150- name: extract-media151schema: path152description:153short: |154Extract images and other media contained in or linked from the source document to the155path DIR.156long: |157Extract images and other media contained in or linked from the source document to the158path DIR, creating it if necessary, and adjust the images references in the document159so they point to the extracted files. Media are downloaded, read from the file160system, or extracted from a binary container (e.g. docx), as needed. The original161file paths are used if they are relative paths not containing ... Otherwise filenames162are constructed from the SHA1 hash of the contents.163164- name: resource-path165schema:166arrayOf: path167default: ["."]168description: |169List of paths to search for images and other resources.170171- name: default-image-extension172schema: string173description:174short: |175Specify a default extension to use when image paths/URLs have no extension.176long: |177Specify a default extension to use when image paths/URLs have no178extension. This allows you to use the same source for formats that179require different kinds of images. Currently this option only affects180the Markdown and LaTeX readers.181182- name: abbreviations183schema: string184description:185short: |186Specifies a custom abbreviations file, with abbreviations one to a line.187long: |188Specifies a custom abbreviations file, with abbreviations one to a line.189This list is used when reading Markdown input: strings found in this list190will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain191spaces.192193- name: dpi194schema: number195default: 96196description:197short: |198Specify the default dpi (dots per inch) value for conversion from pixels to inch/199centimeters and vice versa.200long: |201Specify the default dpi (dots per inch) value for conversion from pixels to inch/202centimeters and vice versa. (Technically, the correct term would be ppi: pixels per203inch.) The default is `96`. When images contain information about dpi internally, the204encoded value is used instead of the default specified by this option.205206- name: html-table-processing207schema:208enum: [none]209description: If `none`, do not process tables in HTML input.210211- name: html-pre-tag-processing212tags:213formats: [typst]214schema:215enum: [none, parse]216description: If `none`, ignore any divs with `html-pre-tag-processing=parse` enabled.217218- name: css-property-processing219tags:220formats: [typst]221schema:222enum: [none, translate]223default: translate224description:225short: CSS property translation226long: If `translate`, translate CSS properties into output format properties. If `none`, do not process css properties.227228- name: use-rsvg-convert229schema: boolean230default: true231tags:232formats: [$pdf-all]233description: If `true`, attempt to use `rsvg-convert` to convert SVG images to PDF.234235236