tag in HTML and the \\end{document} command in LaTeX, this option refers to the end of the markdown content.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-in-header\nInclude contents at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\nfooter\nThe footer for man pages.\n\n\nheader\nThe header for man pages.\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\ntemplate\nUse the specified file as a custom template for the generated document.\n\n\ntemplate-partials\nInclude the specified files as partials accessible to the template for the generated content.\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option.\n\n\n\n\n\nText Output\n\n\n\n\n\n\n\nwrap\nDetermine how text is wrapped in the output (the source code, not the rendered version).\n\nauto (default): Pandoc will attempt to wrap lines to the column width specified by columns (default 72).\nnone: Pandoc will not wrap lines at all.\npreserve: Pandoc will attempt to preserve the wrapping from the source document. Where there are nonsemantic newlines in the source, there will be nonsemantic newlines in the output as well.\n\n\n\ncolumns\nSpecify length of lines in characters. This affects text wrapping in generated source code (see wrap). It also affects calculation of column widths for plain text tables.\n\n\ntab-stop\nSpecify the number of spaces per tab (default is 4). Note that tabs within normal textual input are always converted to spaces. Tabs within code are also converted, however this can be disabled with preserve-tabs: false.\n\n\npreserve-tabs\nPreserve tabs within code instead of converting them to spaces. (By default, pandoc converts tabs to spaces before parsing its input.) Note that this will only affect tabs in literal code spans and code blocks. Tabs in regular text are always treated as spaces.\n\n\neol\nManually specify line endings:\n\ncrlf: Use Windows line endings\nlf: Use macOS/Linux/UNIX line endings\nnative (default): Use line endings appropriate to the OS on which pandoc is being run)."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/man.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/man.html\"\n}"}}},{"rowIdx":101,"cells":{"page_content":{"kind":"string","value":"FictionBook is an open XML-based e-book format. You can learn more about FictionBook at https://en.wikipedia.org/wiki/FictionBook.\nformat: fb2\n\nTitle & Author\n\n\n\n\n\n\n\ntitle\nDocument title\n\n\ndate\nDocument date\n\n\nauthor\nAuthor or authors of the document\n\n\norder\nOrder for document when included in a website automatic sidebar menu.\n\n\n\n\n\nFormat Options\n\n\n\n\n\n\n\nquarto-required\nA semver version range describing the supported quarto versions for this document or project.\nExamples:\n\n>= 1.1.0: Require at least quarto version 1.1\n1.*: Require any quarto versions whose major version number is 1\n\n\n\n\n\n\nTable of Contents\n\n\n\n\n\n\n\ntoc\nInclude an automatically generated table of contents (or, in the case of latex, context, docx, odt, opendocument, rst, or ms, an instruction to create one) in the output document. This option has no effect if standalone is false.\nNote that if you are producing a PDF via ms, the table of contents will appear at the beginning of the document, before the title. If you would prefer it to be at the end of the document, use the option pdf-engine-opt: --no-toc-relocation.\n\n\ntoc-depth\nSpecify the number of section levels to include in the table of contents. The default is 3\n\n\n\n\n\nNumbering\n\n\n\n\n\n\n\nnumber-sections\nNumber section headings rendered output. By default, sections are not numbered. Sections with class .unnumbered will never be numbered, even if number-sections is specified.\n\n\nnumber-offset\nOffset for section headings in output (offsets are 0 by default) The first number is added to the section number for top-level headings, the second for second-level headings, and so on. So, for example, if you want the first top-level heading in your document to be numbered “6”, specify number-offset: 5. If your document starts with a level-2 heading which you want to be numbered “1.5”, specify number-offset: [1,4]. Implies number-sections\n\n\nshift-heading-level-by\nShift heading levels by a positive or negative integer. For example, with shift-heading-level-by: -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings. Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title.\n\n\n\n\n\nLayout\n\n\n\n\n\n\n\ngrid\nProperties of the grid system used to layout Quarto HTML pages.\n\n\n\n\n\nCode\n\n\n\n\n\n\n\ncode-annotations\nThe style to use when displaying code annotations. Set this value to false to hide code annotations.\n\n\n\n\n\nExecution\nExecution options should be specified within the execute key. For example:\nexecute:\n echo: false\n warning: false\n\n\n\neval\nEvaluate code cells (if false just echos the code into output).\n\ntrue (default): evaluate code cell\nfalse: don’t evaluate code cell\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\necho\nInclude cell source code in rendered output.\n\ntrue (default): include source code in output\nfalse: do not include source code in output\nfenced: in addition to echoing, include the cell delimiter as part of the output.\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\noutput\nInclude the results of executing the code in the output. Possible values:\n\ntrue: Include results.\nfalse: Do not include results.\nasis: Treat output as raw markdown with no enclosing containers.\n\n\n\nwarning\nInclude warnings in rendered output.\n\n\nerror\nInclude errors in the output (note that this implies that errors executing code will not halt processing of the document).\n\n\ninclude\nCatch all for preventing any output (code or results) from being included in output.\n\n\ncache\nCache results of computations (using the knitr cache for R documents, and Jupyter Cache for Jupyter documents).\nNote that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined).\n\ntrue: Cache results\nfalse: Do not cache results\nrefresh: Force a refresh of the cache even if has not been otherwise invalidated.\n\n\n\nfreeze\nControl the re-use of previous computational output when rendering.\n\ntrue: Never recompute previously generated computational output during a global project render\nfalse (default): Recompute previously generated computational output\nauto: Re-compute previously generated computational output only in case their source file changes\n\n\n\n\n\n\nFigures\n\n\n\n\n\n\n\nfig-width\nDefault width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-height\nDefault height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-format\nDefault format for figures generated by Matplotlib or R graphics (retina, png, jpeg, svg, or pdf)\n\n\nfig-dpi\nDefault DPI for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-asp\nThe aspect ratio of the plot, i.e., the ratio of height/width. When fig-asp is specified, the height of a plot (the option fig-height) is calculated from fig-width * fig-asp.\nThe fig-asp option is only available within the knitr engine.\n\n\n\n\n\nTables\n\n\n\n\n\n\n\ntbl-colwidths\nApply explicit table column widths for markdown grid tables and pipe tables that are more than columns characters wide (72 by default).\nSome formats (e.g. HTML) do an excellent job automatically sizing table columns and so don’t benefit much from column width specifications. Other formats (e.g. LaTeX) require table column sizes in order to correctly flow longer cell content (this is a major reason why tables > 72 columns wide are assigned explicit widths by Pandoc).\nThis can be specified as:\n\nauto: Apply markdown table column widths except when there is a hyperlink in the table (which tends to throw off automatic calculation of column widths based on the markdown text width of cells). (auto is the default for HTML output formats)\ntrue: Always apply markdown table widths (true is the default for all non-HTML formats)\nfalse: Never apply markdown table widths.\nAn array of numbers (e.g. [40, 30, 30]): Array of explicit width percentages.\n\n\n\ndf-print\nMethod used to print tables in Knitr engine documents:\n\ndefault: Use the default S3 method for the data frame.\nkable: Markdown table using the knitr::kable() function.\ntibble: Plain text table using the tibble package.\npaged: HTML table with paging for row and column overflow.\n\nThe default printing method is kable.\n\n\n\n\n\nReferences\n\n\n\n\n\n\n\nbibliography\nDocument bibliography (BibTeX or CSL). May be a single file or a list of files\n\n\ncsl\nCitation Style Language file to use for formatting references.\n\n\nciteproc\nTurn on built-in citation processing. To use this feature, you will need to have a document containing citations and a source of bibliographic data: either an external bibliography file or a list of references in the document’s YAML metadata. You can optionally also include a csl citation style file.\n\n\ncitation-abbreviations\nJSON file containing abbreviations of journals that should be used in formatted bibliographies when form=\"short\" is specified. The format of the file can be illustrated with an example:\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n\n\n\n\n\nCitation\n\n\n\ncitation\nCitation information for the document itself specified as CSL YAML in the document front matter.\nFor more on supported options, see Citation Metadata.\n\n\n\n\n\nLanguage\n\n\n\nlang\nIdentifies the main language of the document using IETF language tags (following the BCP 47 standard), such as en or en-GB. The Language subtag lookup tool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output when using LaTeX (through babel and polyglossia) or ConTeXt.\n\n\nlanguage\nYAML file containing custom language translations\n\n\ndir\nThe base script direction for the document (rtl or ltr).\nFor bidirectional documents, native pandoc spans and divs with the dir attribute can be used to override the base direction in some output formats. This may not always be necessary if the final renderer (e.g. the browser, when generating HTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the xelatex engine is fully supported (use --pdf-engine=xelatex).\n\n\n\n\n\nIncludes\n\n\n\n\n\n\n\ninclude-before-body\nInclude contents at the beginning of the document body (e.g. after the
tag in HTML, or the \\begin{document} command in LaTeX).\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-after-body\nInclude content at the end of the document body immediately after the markdown content. While it will be included before the closing
tag in HTML and the \\end{document} command in LaTeX, this option refers to the end of the markdown content.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-in-header\nInclude contents at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\ntemplate\nUse the specified file as a custom template for the generated document.\n\n\ntemplate-partials\nInclude the specified files as partials accessible to the template for the generated content.\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option.\n\n\n\n\n\nText Output\n\n\n\n\n\n\n\nwrap\nDetermine how text is wrapped in the output (the source code, not the rendered version).\n\nauto (default): Pandoc will attempt to wrap lines to the column width specified by columns (default 72).\nnone: Pandoc will not wrap lines at all.\npreserve: Pandoc will attempt to preserve the wrapping from the source document. Where there are nonsemantic newlines in the source, there will be nonsemantic newlines in the output as well.\n\n\n\ncolumns\nSpecify length of lines in characters. This affects text wrapping in generated source code (see wrap). It also affects calculation of column widths for plain text tables.\n\n\ntab-stop\nSpecify the number of spaces per tab (default is 4). Note that tabs within normal textual input are always converted to spaces. Tabs within code are also converted, however this can be disabled with preserve-tabs: false.\n\n\npreserve-tabs\nPreserve tabs within code instead of converting them to spaces. (By default, pandoc converts tabs to spaces before parsing its input.) Note that this will only affect tabs in literal code spans and code blocks. Tabs in regular text are always treated as spaces.\n\n\neol\nManually specify line endings:\n\ncrlf: Use Windows line endings\nlf: Use macOS/Linux/UNIX line endings\nnative (default): Use line endings appropriate to the OS on which pandoc is being run)."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/fb2.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/fb2.html\"\n}"}}},{"rowIdx":102,"cells":{"page_content":{"kind":"string","value":"MS Word is the word processor included with Microsoft Office. Word uses the OpenXML document format, which you can learn more about at https://en.wikipedia.org/wiki/Office_Open_XML.\nSee the MS Word format user guide for more details on creating MS Word output with Quarto.\nformat: docx\n\nTitle & Author\n\n\n\n\n\n\n\ntitle\nDocument title\n\n\ndate\nDocument date\n\n\nauthor\nAuthor or authors of the document\n\n\norder\nOrder for document when included in a website automatic sidebar menu.\n\n\n\n\n\nFormat Options\n\n\n\n\n\n\n\nreference-doc\nUse the specified file as a style reference in producing a docx, pptx, or odt file.\n\n\nquarto-required\nA semver version range describing the supported quarto versions for this document or project.\nExamples:\n\n>= 1.1.0: Require at least quarto version 1.1\n1.*: Require any quarto versions whose major version number is 1\n\n\n\n\n\n\nTable of Contents\n\n\n\n\n\n\n\ntoc\nInclude an automatically generated table of contents (or, in the case of latex, context, docx, odt, opendocument, rst, or ms, an instruction to create one) in the output document. This option has no effect if standalone is false.\nNote that if you are producing a PDF via ms, the table of contents will appear at the beginning of the document, before the title. If you would prefer it to be at the end of the document, use the option pdf-engine-opt: --no-toc-relocation.\n\n\ntoc-depth\nSpecify the number of section levels to include in the table of contents. The default is 3\n\n\ntoc-title\nThe title used for the table of contents.\n\n\n\n\n\nNumbering\n\n\n\n\n\n\n\nnumber-sections\nNumber section headings rendered output. By default, sections are not numbered. Sections with class .unnumbered will never be numbered, even if number-sections is specified.\n\n\nnumber-depth\nBy default, all headings in your document create a numbered section. You customize numbering depth using the number-depth option.\nFor example, to only number sections immediately below the chapter level, use this:\nnumber-depth: 1\n\n\nnumber-offset\nOffset for section headings in output (offsets are 0 by default) The first number is added to the section number for top-level headings, the second for second-level headings, and so on. So, for example, if you want the first top-level heading in your document to be numbered “6”, specify number-offset: 5. If your document starts with a level-2 heading which you want to be numbered “1.5”, specify number-offset: [1,4]. Implies number-sections\n\n\nshift-heading-level-by\nShift heading levels by a positive or negative integer. For example, with shift-heading-level-by: -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings. Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title.\n\n\n\n\n\nLayout\n\n\n\n\n\n\n\npage-width\nTarget page width for output (used to compute columns widths for layout divs). Defaults to 6.5 inches, which corresponds to default letter page settings in docx and odt.\n\n\ngrid\nProperties of the grid system used to layout Quarto HTML pages.\n\n\n\n\n\nCode\n\n\n\n\n\n\n\ncode-annotations\nThe style to use when displaying code annotations. Set this value to false to hide code annotations.\n\n\nhighlight-style\nSpecifies the coloring style to be used in highlighted source code.\nInstead of a STYLE name, a JSON file with extension .theme may be supplied. This will be parsed as a KDE syntax highlighting theme and (if valid) used as the highlighting style.\n\n\nsyntax-definitions\nKDE language syntax definition files (XML)\n\n\nindented-code-classes\nSpecify classes to use for all indented code blocks\n\n\n\n\n\nExecution\nExecution options should be specified within the execute key. For example:\nexecute:\n echo: false\n warning: false\n\n\n\neval\nEvaluate code cells (if false just echos the code into output).\n\ntrue (default): evaluate code cell\nfalse: don’t evaluate code cell\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\necho\nInclude cell source code in rendered output.\n\ntrue (default): include source code in output\nfalse: do not include source code in output\nfenced: in addition to echoing, include the cell delimiter as part of the output.\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\noutput\nInclude the results of executing the code in the output. Possible values:\n\ntrue: Include results.\nfalse: Do not include results.\nasis: Treat output as raw markdown with no enclosing containers.\n\n\n\nwarning\nInclude warnings in rendered output.\n\n\nerror\nInclude errors in the output (note that this implies that errors executing code will not halt processing of the document).\n\n\ninclude\nCatch all for preventing any output (code or results) from being included in output.\n\n\ncache\nCache results of computations (using the knitr cache for R documents, and Jupyter Cache for Jupyter documents).\nNote that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined).\n\ntrue: Cache results\nfalse: Do not cache results\nrefresh: Force a refresh of the cache even if has not been otherwise invalidated.\n\n\n\nfreeze\nControl the re-use of previous computational output when rendering.\n\ntrue: Never recompute previously generated computational output during a global project render\nfalse (default): Recompute previously generated computational output\nauto: Re-compute previously generated computational output only in case their source file changes\n\n\n\n\n\n\nFigures\n\n\n\n\n\n\n\nfig-align\nFigure horizontal alignment (default, left, right, or center)\n\n\nfig-width\nDefault width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-height\nDefault height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-format\nDefault format for figures generated by Matplotlib or R graphics (retina, png, jpeg, svg, or pdf)\n\n\nfig-dpi\nDefault DPI for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-asp\nThe aspect ratio of the plot, i.e., the ratio of height/width. When fig-asp is specified, the height of a plot (the option fig-height) is calculated from fig-width * fig-asp.\nThe fig-asp option is only available within the knitr engine.\n\n\n\n\n\nTables\n\n\n\n\n\n\n\ntbl-colwidths\nApply explicit table column widths for markdown grid tables and pipe tables that are more than columns characters wide (72 by default).\nSome formats (e.g. HTML) do an excellent job automatically sizing table columns and so don’t benefit much from column width specifications. Other formats (e.g. LaTeX) require table column sizes in order to correctly flow longer cell content (this is a major reason why tables > 72 columns wide are assigned explicit widths by Pandoc).\nThis can be specified as:\n\nauto: Apply markdown table column widths except when there is a hyperlink in the table (which tends to throw off automatic calculation of column widths based on the markdown text width of cells). (auto is the default for HTML output formats)\ntrue: Always apply markdown table widths (true is the default for all non-HTML formats)\nfalse: Never apply markdown table widths.\nAn array of numbers (e.g. [40, 30, 30]): Array of explicit width percentages.\n\n\n\ndf-print\nMethod used to print tables in Knitr engine documents:\n\ndefault: Use the default S3 method for the data frame.\nkable: Markdown table using the knitr::kable() function.\ntibble: Plain text table using the tibble package.\npaged: HTML table with paging for row and column overflow.\n\nThe default printing method is kable.\n\n\n\n\n\nReferences\n\n\n\n\n\n\n\nbibliography\nDocument bibliography (BibTeX or CSL). May be a single file or a list of files\n\n\ncsl\nCitation Style Language file to use for formatting references.\n\n\nciteproc\nTurn on built-in citation processing. To use this feature, you will need to have a document containing citations and a source of bibliographic data: either an external bibliography file or a list of references in the document’s YAML metadata. You can optionally also include a csl citation style file.\n\n\ncitation-abbreviations\nJSON file containing abbreviations of journals that should be used in formatted bibliographies when form=\"short\" is specified. The format of the file can be illustrated with an example:\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n\n\nlink-citations\nIf true, citations will be hyperlinked to the corresponding bibliography entries (for author-date and numerical styles only). Defaults to false.\n\n\nlink-bibliography\nIf true, DOIs, PMCIDs, PMID, and URLs in bibliographies will be rendered as hyperlinks. (If an entry contains a DOI, PMCID, PMID, or URL, but none of these fields are rendered by the style, then the title, or in the absence of a title the whole entry, will be hyperlinked.) Defaults to true.\n\n\nnotes-after-punctuation\nIf true (the default for note styles), Quarto (via Pandoc) will put footnote references or superscripted numerical citations after following punctuation. For example, if the source contains blah blah (jones99?)., the result will look like blah blah.[^1], with the note moved after the period and the space collapsed.\nIf false, the space will still be collapsed, but the footnote will not be moved after the punctuation. The option may also be used in numerical styles that use superscripts for citation numbers (but for these styles the default is not to move the citation).\n\n\n\n\n\nCitation\n\n\n\ncitation\nCitation information for the document itself specified as CSL YAML in the document front matter.\nFor more on supported options, see Citation Metadata.\n\n\n\n\n\nLanguage\n\n\n\nlang\nIdentifies the main language of the document using IETF language tags (following the BCP 47 standard), such as en or en-GB. The Language subtag lookup tool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output when using LaTeX (through babel and polyglossia) or ConTeXt.\n\n\nlanguage\nYAML file containing custom language translations\n\n\ndir\nThe base script direction for the document (rtl or ltr).\nFor bidirectional documents, native pandoc spans and divs with the dir attribute can be used to override the base direction in some output formats. This may not always be necessary if the final renderer (e.g. the browser, when generating HTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the xelatex engine is fully supported (use --pdf-engine=xelatex).\n\n\n\n\n\nIncludes\n\n\n\n\n\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nMetadata\n\n\n\n\n\n\n\nsubject\nThe document subject\n\n\ndescription\nThe document description. Some applications show this as Comments metadata.\n\n\ncategory\nThe document category.\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/docx.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/docx.html\"\n}"}}},{"rowIdx":103,"cells":{"page_content":{"kind":"string","value":"HTML is a markup language used for structuring and presenting content on the web. To learn more about HTML see https://en.wikipedia.org/wiki/HTML5.\nSee the HTML format user guide for more details on creating HTML output with Quarto.\nformat: html\n\nTitle & Author\n\n\n\n\n\n\n\ntitle\nDocument title\n\n\nsubtitle\nIdentifies the subtitle of the document.\n\n\ndate\nDocument date\n\n\ndate-modified\nDocument date modified\n\n\nauthor\nAuthor or authors of the document\n\n\nabstract\nSummary of document\n\n\nabstract-title\nTitle used to label document abstract\n\n\ndoi\nDisplays the document Digital Object Identifier in the header.\n\n\norder\nOrder for document when included in a website automatic sidebar menu.\n\n\n\n\n\nFormat Options\n\n\n\ntheme\nTheme name, theme scss file, or a mix of both.\n\n\nminimal\nDisables the built in html features like theming, anchor sections, code block behavior, and more.\n\n\ncss\nOne or more CSS style sheets.\n\n\nanchor-sections\nEnables hover over a section title to see an anchor link.\n\n\nsmooth-scroll\nEnables smooth scrolling within the page.\n\n\nhtml-math-method\nMethod use to render math in HTML output (plain, webtex, gladtex, mathml, mathjax, katex).\nSee the Pandoc documentation on Math Rendering in HTML for additional details.\n\n\nsection-divs\nWrap sections in tags and attach identifiers to the enclosing rather than the heading itself.\n\n\nidentifier-prefix\nSpecify a prefix to be added to all identifiers and internal links in HTML and DocBook output, and to footnote numbers in Markdown and Haddock output. This is useful for preventing duplicate identifiers when generating fragments to be included in other pages.\n\n\nemail-obfuscation\nSpecify a method for obfuscating mailto: links in HTML documents.\n\njavascript: Obfuscate links using JavaScript.\nreferences: Obfuscate links by printing their letters as decimal or hexadecimal character references.\nnone (default): Do not obfuscate links.\n\n\n\nhtml-q-tags\nUse tags for quotes in HTML.\n\n\nquarto-required\nA semver version range describing the supported quarto versions for this document or project.\nExamples:\n\n>= 1.1.0: Require at least quarto version 1.1\n1.*: Require any quarto versions whose major version number is 1\n\n\n\n\n\n\nTable of Contents\n\n\n\n\n\n\n\ntoc\nInclude an automatically generated table of contents (or, in the case of latex, context, docx, odt, opendocument, rst, or ms, an instruction to create one) in the output document. This option has no effect if standalone is false.\nNote that if you are producing a PDF via ms, the table of contents will appear at the beginning of the document, before the title. If you would prefer it to be at the end of the document, use the option pdf-engine-opt: --no-toc-relocation.\n\n\ntoc-depth\nSpecify the number of section levels to include in the table of contents. The default is 3\n\n\ntoc-location\nLocation for table of contents (body, left, or right (default)).\n\n\ntoc-title\nThe title used for the table of contents.\n\n\ntoc-expand\nSpecifies the depth of items in the table of contents that should be displayed as expanded in HTML output. Use true to expand all or false to collapse all.\n\n\n\n\n\nNumbering\n\n\n\n\n\n\n\nnumber-sections\nNumber section headings rendered output. By default, sections are not numbered. Sections with class .unnumbered will never be numbered, even if number-sections is specified.\n\n\nnumber-depth\nBy default, all headings in your document create a numbered section. You customize numbering depth using the number-depth option.\nFor example, to only number sections immediately below the chapter level, use this:\nnumber-depth: 1\n\n\nnumber-offset\nOffset for section headings in output (offsets are 0 by default) The first number is added to the section number for top-level headings, the second for second-level headings, and so on. So, for example, if you want the first top-level heading in your document to be numbered “6”, specify number-offset: 5. If your document starts with a level-2 heading which you want to be numbered “1.5”, specify number-offset: [1,4]. Implies number-sections\n\n\nshift-heading-level-by\nShift heading levels by a positive or negative integer. For example, with shift-heading-level-by: -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings. Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title.\n\n\n\n\n\nFonts\n\n\n\nmainfont\nFor HTML output, sets the CSS font-family on the HTML element.\nFor LaTeX output, the main font family for use with xelatex or lualatex. Takes the name of any system font, using the fontspec package.\nFor ConTeXt output, the main font family. Use the name of any system font. See ConTeXt Fonts for more information.\n\n\nmonofont\nFor HTML output, sets the CSS font-family property on code elements.\nFor PowerPoint output, sets the font used for code.\nFor LaTeX output, the monospace font family for use with xelatex or lualatex: take the name of any system font, using the fontspec package.\nFor ConTeXt output, the monspace font family. Use the name of any system font. See ConTeXt Fonts for more information.\n\n\nfontsize\nFor HTML output, sets the base CSS font-size property.\nFor LaTeX and ConTeXt output, sets the font size for the document body text.\n\n\nlinestretch\nFor HTML output sets the CSS line-height property on the html element, which is preferred to be unitless.\nFor LaTeX output, adjusts line spacing using the setspace package, e.g. 1.25, 1.5.\n\n\n\n\n\nColors\n\n\n\nfontcolor\nSets the CSS color property.\n\n\nlinkcolor\nFor HTML output, sets the CSS color property on all links.\nFor LaTeX output, The color used for internal links using color options allowed by xcolor, including the dvipsnames, svgnames, and x11names lists.\nFor ConTeXt output, sets the color for both external links and links within the document.\n\n\nmonobackgroundcolor\nSets the CSS background-color property on code elements and adds extra padding.\n\n\nbackgroundcolor\nSets the CSS background-color property on the html element.\n\n\n\n\n\nLayout\n\n\n\n\n\n\n\ncap-location\nWhere to place figure and table captions (top, bottom, or margin)\n\n\nfig-cap-location\nWhere to place figure captions (top, bottom, or margin)\n\n\ntbl-cap-location\nWhere to place table captions (top, bottom, or margin)\n\n\nclassoption\nFor LaTeX/PDF output, the options set for the document class.\nFor HTML output using KaTeX, you can render display math equations flush left using classoption: fleqn\n\n\npage-layout\nThe page layout to use for this document (article, full, or custom)\n\n\ngrid\nProperties of the grid system used to layout Quarto HTML pages.\n\n\nappendix-style\nThe layout of the appendix for this document (none, plain, or default).\nTo completely disable any styling of the appendix, choose the appendix style none. For minimal styling, choose plain.\n\n\nappendix-cite-as\nControls the formats which are provided in the citation section of the appendix.\nUse false to disable the display of the ‘cite as’ appendix. Pass one or more of display or bibtex to enable that format in ‘cite as’ appendix.\n\n\ntitle-block-style\nThe layout of the title block for this document (none, plain, or default).\nTo completely disable any styling of the title block, choose the style none. For minimal styling, choose plain.\n\n\ntitle-block-banner\nApplies a banner style treatment for the title block. You may specify one of the following values:\n\ntrue\n\nWill enable the banner style display and automatically select a background color based upon the theme.\n\n\n\nIf you provide a CSS color value, the banner will be enabled and the background color set to the provided CSS color.\n\n\n\nIf you provide the path to a file, the banner will be enabled and the background image will be set to the file path.\n\n\nSee title-block-banner-color if you’d like to control the color of the title block banner text.\n\n\ntitle-block-banner-color\nSets the color of text elements in a banner style title block. Use one of the following values:\n\nbody | body-bg\n\nWill set the text color to the body text color or body background color, respectively.\n\n\n\nIf you provide a CSS color value, the text color will be set to the provided CSS color.\n\n\n\n\ntitle-block-categories\nEnables or disables the display of categories in the title block.\n\n\nmax-width\nAdds a css max-width to the body Element.\n\n\nmargin-left\nFor HTML output, sets the margin-left property on the Body element.\nFor LaTeX output, sets the left margin if geometry is not used (otherwise geometry overrides this value)\nFor ConTeXt output, sets the left margin if layout is not used, otherwise layout overrides these.\nFor wkhtmltopdf sets the left page margin.\n\n\nmargin-right\nFor HTML output, sets the margin-right property on the Body element.\nFor LaTeX output, sets the right margin if geometry is not used (otherwise geometry overrides this value)\nFor ConTeXt output, sets the right margin if layout is not used, otherwise layout overrides these.\nFor wkhtmltopdf sets the right page margin.\n\n\nmargin-top\nFor HTML output, sets the margin-top property on the Body element.\nFor LaTeX output, sets the top margin if geometry is not used (otherwise geometry overrides this value)\nFor ConTeXt output, sets the top margin if layout is not used, otherwise layout overrides these.\nFor wkhtmltopdf sets the top page margin.\n\n\nmargin-bottom\nFor HTML output, sets the margin-bottom property on the Body element.\nFor LaTeX output, sets the bottom margin if geometry is not used (otherwise geometry overrides this value)\nFor ConTeXt output, sets the bottom margin if layout is not used, otherwise layout overrides these.\nFor wkhtmltopdf sets the bottom page margin.\n\n\n\n\n\nCode\n\n\n\ncode-fold\nCollapse code into an HTML tag so the user can display it on-demand.\n\ntrue: collapse code\nfalse (default): do not collapse code\nshow: use the tag, but show the expanded code initially.\n\n\n\ncode-summary\nSummary text to use for code blocks collapsed using code-fold\n\n\ncode-overflow\nChoose how to handle code overflow, when code lines are too wide for their container. One of:\n\nscroll\nwrap\n\n\n\ncode-line-numbers\nInclude line numbers in code block output (true or false).\nFor revealjs output only, you can also specify a string to highlight specific lines (and/or animate between sets of highlighted lines).\n\nSets of lines are denoted with commas:\n\n3,4,5\n1,10,12\n\nRanges can be denoted with dashes and combined with commas:\n\n1-3,5\n5-10,12,14\n\nFinally, animation steps are separated by |:\n\n1-3|1-3,5 first shows 1-3, then 1-3,5\n|5|5-10,12 first shows no numbering, then 5, then lines 5-10 and 12\n\n\n\n\ncode-copy\nEnable a code copy icon for code blocks.\n\ntrue: Always show the icon\nfalse: Never show the icon\nhover (default): Show the icon when the mouse hovers over the code block\n\n\n\ncode-link\nEnables hyper-linking of functions within code blocks to their online documentation.\nCode linking is currently implemented only for the knitr engine (via the downlit package). A limitation of downlit currently prevents code linking if code-line-numbers is also true.\n\n\ncode-annotations\nThe style to use when displaying code annotations. Set this value to false to hide code annotations.\n\n\ncode-tools\nInclude a code tools menu (for hiding and showing code). Use true or false to enable or disable the standard code tools menu. Specify sub-properties source, toggle, and caption to customize the behavior and appearnce of code tools.\n\n\ncode-block-border-left\nSpecifies to apply a left border on code blocks. Provide a hex color to specify that the border is enabled as well as the color of the border.=\n\n\ncode-block-bg\nSpecifies to apply a background color on code blocks. Provide a hex color to specify that the background color is enabled as well as the color of the background.\n\n\nhighlight-style\nSpecifies the coloring style to be used in highlighted source code.\nInstead of a STYLE name, a JSON file with extension .theme may be supplied. This will be parsed as a KDE syntax highlighting theme and (if valid) used as the highlighting style.\n\n\nsyntax-definitions\nKDE language syntax definition files (XML)\n\n\nindented-code-classes\nSpecify classes to use for all indented code blocks\n\n\n\n\n\nExecution\nExecution options should be specified within the execute key. For example:\nexecute:\n echo: false\n warning: false\n\n\n\neval\nEvaluate code cells (if false just echos the code into output).\n\ntrue (default): evaluate code cell\nfalse: don’t evaluate code cell\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\necho\nInclude cell source code in rendered output.\n\ntrue (default): include source code in output\nfalse: do not include source code in output\nfenced: in addition to echoing, include the cell delimiter as part of the output.\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\noutput\nInclude the results of executing the code in the output. Possible values:\n\ntrue: Include results.\nfalse: Do not include results.\nasis: Treat output as raw markdown with no enclosing containers.\n\n\n\nwarning\nInclude warnings in rendered output.\n\n\nerror\nInclude errors in the output (note that this implies that errors executing code will not halt processing of the document).\n\n\ninclude\nCatch all for preventing any output (code or results) from being included in output.\n\n\ncache\nCache results of computations (using the knitr cache for R documents, and Jupyter Cache for Jupyter documents).\nNote that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined).\n\ntrue: Cache results\nfalse: Do not cache results\nrefresh: Force a refresh of the cache even if has not been otherwise invalidated.\n\n\n\nfreeze\nControl the re-use of previous computational output when rendering.\n\ntrue: Never recompute previously generated computational output during a global project render\nfalse (default): Recompute previously generated computational output\nauto: Re-compute previously generated computational output only in case their source file changes\n\n\n\n\n\n\nFigures\n\n\n\n\n\n\n\nfig-align\nFigure horizontal alignment (default, left, right, or center)\n\n\nfig-cap-location\nWhere to place figure captions (top, bottom, or margin)\n\n\nfig-width\nDefault width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-height\nDefault height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-format\nDefault format for figures generated by Matplotlib or R graphics (retina, png, jpeg, svg, or pdf)\n\n\nfig-dpi\nDefault DPI for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-asp\nThe aspect ratio of the plot, i.e., the ratio of height/width. When fig-asp is specified, the height of a plot (the option fig-height) is calculated from fig-width * fig-asp.\nThe fig-asp option is only available within the knitr engine.\n\n\nfig-responsive\nWhether to make images in this document responsive.\n\n\n\n\n\nTables\n\n\n\n\n\n\n\ntbl-colwidths\nApply explicit table column widths for markdown grid tables and pipe tables that are more than columns characters wide (72 by default).\nSome formats (e.g. HTML) do an excellent job automatically sizing table columns and so don’t benefit much from column width specifications. Other formats (e.g. LaTeX) require table column sizes in order to correctly flow longer cell content (this is a major reason why tables > 72 columns wide are assigned explicit widths by Pandoc).\nThis can be specified as:\n\nauto: Apply markdown table column widths except when there is a hyperlink in the table (which tends to throw off automatic calculation of column widths based on the markdown text width of cells). (auto is the default for HTML output formats)\ntrue: Always apply markdown table widths (true is the default for all non-HTML formats)\nfalse: Never apply markdown table widths.\nAn array of numbers (e.g. [40, 30, 30]): Array of explicit width percentages.\n\n\n\ntbl-cap-location\nWhere to place table captions (top, bottom, or margin)\n\n\ndf-print\nMethod used to print tables in Knitr engine documents:\n\ndefault: Use the default S3 method for the data frame.\nkable: Markdown table using the knitr::kable() function.\ntibble: Plain text table using the tibble package.\npaged: HTML table with paging for row and column overflow.\n\nThe default printing method is kable.\n\n\n\n\n\nLinks\n\n\n\n\n\n\n\nlink-external-icon\nShow a special icon next to links that leave the current site.\n\n\nlink-external-newwindow\nOpen external links in a new browser window or tab (rather than navigating the current tab).\n\n\nlink-external-filter\nA regular expression that can be used to determine whether a link is an internal link. For example, the following will treat links that start with http://www.quarto.org as internal links (and others will be considered external):\n^(?:http:|https:)\\/\\/www\\.quarto\\.org\\/custom\n\n\nformat-links\nControls whether links to other rendered formats are displayed in HTML output.\nPass false to disable the display of format lengths or pass a list of format names for which you’d like links to be shown.\n\n\nnotebook-links\nControls the display of links to notebooks that provided embedded content or are created from documents.\nSpecify false to disable linking to source Notebooks. Specify inline to show links to source notebooks beneath the content they provide. Specify global to show a set of global links to source notebooks.\n\n\nnotebook-view\nConfigures the HTML viewer for notebooks that provide embedded content.\n\n\n\n\n\nReferences\n\n\n\n\n\n\n\nbibliography\nDocument bibliography (BibTeX or CSL). May be a single file or a list of files\n\n\ncsl\nCitation Style Language file to use for formatting references.\n\n\ncitations-hover\nEnables a hover popup for citation that shows the reference information.\n\n\ncitation-location\nWhere citation information should be displayed (document or margin)\n\n\nciteproc\nTurn on built-in citation processing. To use this feature, you will need to have a document containing citations and a source of bibliographic data: either an external bibliography file or a list of references in the document’s YAML metadata. You can optionally also include a csl citation style file.\n\n\ncitation-abbreviations\nJSON file containing abbreviations of journals that should be used in formatted bibliographies when form=\"short\" is specified. The format of the file can be illustrated with an example:\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n\n\n\n\n\nFootnotes\n\n\n\n\n\n\n\nfootnotes-hover\nEnables a hover popup for footnotes that shows the footnote contents.\n\n\nreference-location\nSpecify location for footnotes. Also controls the location of references, if reference-links is set.\n\nblock: Place at end of current top-level block\nsection: Place at end of current section\nmargin: Place at the margin\ndocument: Place at end of document\n\n\n\n\n\n\nCitation\n\n\n\ncitation\nCitation information for the document itself specified as CSL YAML in the document front matter.\nFor more on supported options, see Citation Metadata.\n\n\n\n\n\nLanguage\n\n\n\nlang\nIdentifies the main language of the document using IETF language tags (following the BCP 47 standard), such as en or en-GB. The Language subtag lookup tool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output when using LaTeX (through babel and polyglossia) or ConTeXt.\n\n\nlanguage\nYAML file containing custom language translations\n\n\ndir\nThe base script direction for the document (rtl or ltr).\nFor bidirectional documents, native pandoc spans and divs with the dir attribute can be used to override the base direction in some output formats. This may not always be necessary if the final renderer (e.g. the browser, when generating HTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the xelatex engine is fully supported (use --pdf-engine=xelatex).\n\n\n\n\n\nIncludes\n\n\n\n\n\n\n\ninclude-before-body\nInclude contents at the beginning of the document body (e.g. after the
tag in HTML, or the \\begin{document} command in LaTeX).\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-after-body\nInclude content at the end of the document body immediately after the markdown content. While it will be included before the closing
tag in HTML and the \\end{document} command in LaTeX, this option refers to the end of the markdown content.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-in-header\nInclude contents at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\nresources\nPath (or glob) to files to publish with this document.\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nMetadata\n\n\n\n\n\n\n\nkeywords\nList of keywords to be included in the document metadata.\n\n\ncopyright\nThe copyright for this document, if any.\n\n\nlicense\nThe license for this document, if any.\nCreative Commons licenses CC BY, CC BY-SA, CC BY-ND, CC BY-NC will automatically generate a license link in the document appendix. Other license text will be placed in the appendix verbatim.\n\n\npagetitle\nSets the title metadata for the document\n\n\ntitle-prefix\nSpecify STRING as a prefix at the beginning of the title that appears in the HTML header (but not in the title as it appears at the beginning of the body)\n\n\ndescription-meta\nSets the description metadata for the document\n\n\nauthor-meta\nSets the author metadata for the document\n\n\ndate-meta\nSets the date metadata for the document\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\ntemplate\nUse the specified file as a custom template for the generated document.\n\n\ntemplate-partials\nInclude the specified files as partials accessible to the template for the generated content.\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nembed-resources\nProduce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. The resulting file should be “self-contained,” in the sense that it needs no external files and no net access to be displayed properly by a browser. This option works only with HTML output formats, including html4, html5, html+lhs, html5+lhs, s5, slidy, slideous, dzslides, and revealjs. Scripts, images, and stylesheets at absolute URLs will be downloaded; those at relative URLs will be sought relative to the working directory (if the first source file is local) or relative to the base URL (if the first source file is remote). Elements with the attribute data-external=\"1\" will be left alone; the documents they link to will not be incorporated in the document. Limitation: resources that are loaded dynamically through JavaScript cannot be incorporated; as a result, some advanced features (e.g. zoom or speaker notes) may not work in an offline “self-contained” reveal.js slide show.\n\n\nself-contained\nProduce a standalone HTML file with no external dependencies. Note that this option has been deprecated in favor of embed-resources.\n\n\nself-contained-math\nEmbed math libraries (e.g. MathJax) within self-contained output. Note that math libraries are not embedded by default because they are quite large and often time consuming to download.\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option.\n\n\n\n\n\nWebsite\n\n\n\n\n\n\n\nsearch\nSetting this to false prevents this document from being included in searches.\n\n\naliases\nURLs that alias this document, when included in a website.\n\n\nimage\nThe path to a preview image for this content. By default, Quarto will use the image value from the site: metadata. If you provide an image, you may also optionally provide an image-width and image-height to improve the appearance of your Twitter Card.\nIf image is not provided, Quarto will automatically attempt to locate a preview image.\n\n\nimage-height\nThe height of the preview image for this document.\n\n\nimage-width\nThe width of the preview image for this document.\n\n\nimage-alt\nThe alt text for preview image on this page.\n\n\n\n\n\nText Output\n\n\n\n\n\n\n\nstrip-comments\nStrip out HTML comments in the Markdown source, rather than passing them on to Markdown, Textile or HTML output as raw HTML. This does not apply to HTML comments inside raw HTML blocks when the markdown_in_html_blocks extension is not set.\n\n\nascii\nUse only ASCII characters in output. Currently supported for XML and HTML formats (which use entities instead of UTF-8 when this option is selected), CommonMark, gfm, and Markdown (which use entities), roff ms (which use hexadecimal escapes), and to a limited degree LaTeX (which uses standard commands for accented characters when possible). roff man output uses ASCII by default."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/html.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/html.html\"\n}"}}},{"rowIdx":104,"cells":{"page_content":{"kind":"string","value":"AsciiDoc is a text document format for writing documentation, articles, and books, ebooks, slideshows, web pages, man pages and blogs. You can learn more about AsciiDoc at https://asciidoc.org/.\nformat: asciidoc\nformat: asciidoctor\n\n\n\n\n\n\nAsciidoc vs Asciidoctor Format\n\n\n\nPandoc includes support for both the asciidoc and asciidoctor formats. The asciidoc format produces older style syntax that is no longer typically used, while the asciidoctor format produces the more current markdown syntax that is part of the formal AsciiDoc specification.\nIn Quarto, both asciidoc and asciidoctor are aliases for the asciidoctor format.\n\n\n\nTitle & Author\n\n\n\n\n\n\n\ntitle\nDocument title\n\n\ndate\nDocument date\n\n\nauthor\nAuthor or authors of the document\n\n\nabstract\nSummary of document\n\n\norder\nOrder for document when included in a website automatic sidebar menu.\n\n\n\n\n\nFormat Options\n\n\n\n\n\n\n\nquarto-required\nA semver version range describing the supported quarto versions for this document or project.\nExamples:\n\n>= 1.1.0: Require at least quarto version 1.1\n1.*: Require any quarto versions whose major version number is 1\n\n\n\n\n\n\nTable of Contents\n\n\n\n\n\n\n\ntoc\nInclude an automatically generated table of contents (or, in the case of latex, context, docx, odt, opendocument, rst, or ms, an instruction to create one) in the output document. This option has no effect if standalone is false.\nNote that if you are producing a PDF via ms, the table of contents will appear at the beginning of the document, before the title. If you would prefer it to be at the end of the document, use the option pdf-engine-opt: --no-toc-relocation.\n\n\ntoc-depth\nSpecify the number of section levels to include in the table of contents. The default is 3\n\n\n\n\n\nNumbering\n\n\n\n\n\n\n\nnumber-sections\nNumber section headings rendered output. By default, sections are not numbered. Sections with class .unnumbered will never be numbered, even if number-sections is specified.\n\n\nnumber-offset\nOffset for section headings in output (offsets are 0 by default) The first number is added to the section number for top-level headings, the second for second-level headings, and so on. So, for example, if you want the first top-level heading in your document to be numbered “6”, specify number-offset: 5. If your document starts with a level-2 heading which you want to be numbered “1.5”, specify number-offset: [1,4]. Implies number-sections\n\n\nshift-heading-level-by\nShift heading levels by a positive or negative integer. For example, with shift-heading-level-by: -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings. Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title.\n\n\n\n\n\nLayout\n\n\n\n\n\n\n\ngrid\nProperties of the grid system used to layout Quarto HTML pages.\n\n\n\n\n\nCode\n\n\n\n\n\n\n\ncode-annotations\nThe style to use when displaying code annotations. Set this value to false to hide code annotations.\n\n\n\n\n\nExecution\nExecution options should be specified within the execute key. For example:\nexecute:\n echo: false\n warning: false\n\n\n\neval\nEvaluate code cells (if false just echos the code into output).\n\ntrue (default): evaluate code cell\nfalse: don’t evaluate code cell\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\necho\nInclude cell source code in rendered output.\n\ntrue (default): include source code in output\nfalse: do not include source code in output\nfenced: in addition to echoing, include the cell delimiter as part of the output.\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\noutput\nInclude the results of executing the code in the output. Possible values:\n\ntrue: Include results.\nfalse: Do not include results.\nasis: Treat output as raw markdown with no enclosing containers.\n\n\n\nwarning\nInclude warnings in rendered output.\n\n\nerror\nInclude errors in the output (note that this implies that errors executing code will not halt processing of the document).\n\n\ninclude\nCatch all for preventing any output (code or results) from being included in output.\n\n\ncache\nCache results of computations (using the knitr cache for R documents, and Jupyter Cache for Jupyter documents).\nNote that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined).\n\ntrue: Cache results\nfalse: Do not cache results\nrefresh: Force a refresh of the cache even if has not been otherwise invalidated.\n\n\n\nfreeze\nControl the re-use of previous computational output when rendering.\n\ntrue: Never recompute previously generated computational output during a global project render\nfalse (default): Recompute previously generated computational output\nauto: Re-compute previously generated computational output only in case their source file changes\n\n\n\n\n\n\nFigures\n\n\n\n\n\n\n\nfig-width\nDefault width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-height\nDefault height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-format\nDefault format for figures generated by Matplotlib or R graphics (retina, png, jpeg, svg, or pdf)\n\n\nfig-dpi\nDefault DPI for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-asp\nThe aspect ratio of the plot, i.e., the ratio of height/width. When fig-asp is specified, the height of a plot (the option fig-height) is calculated from fig-width * fig-asp.\nThe fig-asp option is only available within the knitr engine.\n\n\n\n\n\nTables\n\n\n\n\n\n\n\ntbl-colwidths\nApply explicit table column widths for markdown grid tables and pipe tables that are more than columns characters wide (72 by default).\nSome formats (e.g. HTML) do an excellent job automatically sizing table columns and so don’t benefit much from column width specifications. Other formats (e.g. LaTeX) require table column sizes in order to correctly flow longer cell content (this is a major reason why tables > 72 columns wide are assigned explicit widths by Pandoc).\nThis can be specified as:\n\nauto: Apply markdown table column widths except when there is a hyperlink in the table (which tends to throw off automatic calculation of column widths based on the markdown text width of cells). (auto is the default for HTML output formats)\ntrue: Always apply markdown table widths (true is the default for all non-HTML formats)\nfalse: Never apply markdown table widths.\nAn array of numbers (e.g. [40, 30, 30]): Array of explicit width percentages.\n\n\n\ndf-print\nMethod used to print tables in Knitr engine documents:\n\ndefault: Use the default S3 method for the data frame.\nkable: Markdown table using the knitr::kable() function.\ntibble: Plain text table using the tibble package.\npaged: HTML table with paging for row and column overflow.\n\nThe default printing method is kable.\n\n\n\n\n\nReferences\n\n\n\n\n\n\n\nbibliography\nDocument bibliography (BibTeX or CSL). May be a single file or a list of files\n\n\ncsl\nCitation Style Language file to use for formatting references.\n\n\nciteproc\nTurn on built-in citation processing. To use this feature, you will need to have a document containing citations and a source of bibliographic data: either an external bibliography file or a list of references in the document’s YAML metadata. You can optionally also include a csl citation style file.\n\n\ncitation-abbreviations\nJSON file containing abbreviations of journals that should be used in formatted bibliographies when form=\"short\" is specified. The format of the file can be illustrated with an example:\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n\n\n\n\n\nCitation\n\n\n\ncitation\nCitation information for the document itself specified as CSL YAML in the document front matter.\nFor more on supported options, see Citation Metadata.\n\n\n\n\n\nLanguage\n\n\n\nlang\nIdentifies the main language of the document using IETF language tags (following the BCP 47 standard), such as en or en-GB. The Language subtag lookup tool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output when using LaTeX (through babel and polyglossia) or ConTeXt.\n\n\nlanguage\nYAML file containing custom language translations\n\n\ndir\nThe base script direction for the document (rtl or ltr).\nFor bidirectional documents, native pandoc spans and divs with the dir attribute can be used to override the base direction in some output formats. This may not always be necessary if the final renderer (e.g. the browser, when generating HTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the xelatex engine is fully supported (use --pdf-engine=xelatex).\n\n\n\n\n\nIncludes\n\n\n\n\n\n\n\ninclude-before-body\nInclude contents at the beginning of the document body (e.g. after the
tag in HTML, or the \\begin{document} command in LaTeX).\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-after-body\nInclude content at the end of the document body immediately after the markdown content. While it will be included before the closing
tag in HTML and the \\end{document} command in LaTeX, this option refers to the end of the markdown content.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-in-header\nInclude contents at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nMetadata\n\n\n\n\n\n\n\nkeywords\nList of keywords to be included in the document metadata.\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\ntemplate\nUse the specified file as a custom template for the generated document.\n\n\ntemplate-partials\nInclude the specified files as partials accessible to the template for the generated content.\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option.\n\n\n\n\n\nText Output\n\n\n\n\n\n\n\nwrap\nDetermine how text is wrapped in the output (the source code, not the rendered version).\n\nauto (default): Pandoc will attempt to wrap lines to the column width specified by columns (default 72).\nnone: Pandoc will not wrap lines at all.\npreserve: Pandoc will attempt to preserve the wrapping from the source document. Where there are nonsemantic newlines in the source, there will be nonsemantic newlines in the output as well.\n\n\n\ncolumns\nSpecify length of lines in characters. This affects text wrapping in generated source code (see wrap). It also affects calculation of column widths for plain text tables.\n\n\ntab-stop\nSpecify the number of spaces per tab (default is 4). Note that tabs within normal textual input are always converted to spaces. Tabs within code are also converted, however this can be disabled with preserve-tabs: false.\n\n\npreserve-tabs\nPreserve tabs within code instead of converting them to spaces. (By default, pandoc converts tabs to spaces before parsing its input.) Note that this will only affect tabs in literal code spans and code blocks. Tabs in regular text are always treated as spaces.\n\n\neol\nManually specify line endings:\n\ncrlf: Use Windows line endings\nlf: Use macOS/Linux/UNIX line endings\nnative (default): Use line endings appropriate to the OS on which pandoc is being run)."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/asciidoc.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/asciidoc.html\"\n}"}}},{"rowIdx":105,"cells":{"page_content":{"kind":"string","value":"Markua is a markdown variant used by Leanpub. You can learn more about Markua at https://leanpub.com/markua/read.\nformat: markua\n\nTitle & Author\n\n\n\n\n\n\n\ntitle\nDocument title\n\n\ndate\nDocument date\n\n\nauthor\nAuthor or authors of the document\n\n\norder\nOrder for document when included in a website automatic sidebar menu.\n\n\n\n\n\nFormat Options\n\n\n\n\n\n\n\nidentifier-prefix\nSpecify a prefix to be added to all identifiers and internal links in HTML and DocBook output, and to footnote numbers in Markdown and Haddock output. This is useful for preventing duplicate identifiers when generating fragments to be included in other pages.\n\n\nvariant\nEnable and disable extensions for markdown output (e.g. “+emoji”)\n\n\nmarkdown-headings\nSpecify whether to use atx (#-prefixed) or setext (underlined) headings for level 1 and 2 headings (atx or setext).\n\n\nkeep-yaml\nPreserve the original YAML front matter in rendered markdown\n\n\nquarto-required\nA semver version range describing the supported quarto versions for this document or project.\nExamples:\n\n>= 1.1.0: Require at least quarto version 1.1\n1.*: Require any quarto versions whose major version number is 1\n\n\n\n\n\n\nTable of Contents\n\n\n\n\n\n\n\ntoc\nInclude an automatically generated table of contents (or, in the case of latex, context, docx, odt, opendocument, rst, or ms, an instruction to create one) in the output document. This option has no effect if standalone is false.\nNote that if you are producing a PDF via ms, the table of contents will appear at the beginning of the document, before the title. If you would prefer it to be at the end of the document, use the option pdf-engine-opt: --no-toc-relocation.\n\n\ntoc-depth\nSpecify the number of section levels to include in the table of contents. The default is 3\n\n\n\n\n\nNumbering\n\n\n\n\n\n\n\nnumber-sections\nNumber section headings rendered output. By default, sections are not numbered. Sections with class .unnumbered will never be numbered, even if number-sections is specified.\n\n\nnumber-offset\nOffset for section headings in output (offsets are 0 by default) The first number is added to the section number for top-level headings, the second for second-level headings, and so on. So, for example, if you want the first top-level heading in your document to be numbered “6”, specify number-offset: 5. If your document starts with a level-2 heading which you want to be numbered “1.5”, specify number-offset: [1,4]. Implies number-sections\n\n\nshift-heading-level-by\nShift heading levels by a positive or negative integer. For example, with shift-heading-level-by: -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings. Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title.\n\n\n\n\n\nLayout\n\n\n\n\n\n\n\ngrid\nProperties of the grid system used to layout Quarto HTML pages.\n\n\n\n\n\nCode\n\n\n\n\n\n\n\ncode-annotations\nThe style to use when displaying code annotations. Set this value to false to hide code annotations.\n\n\n\n\n\nExecution\nExecution options should be specified within the execute key. For example:\nexecute:\n echo: false\n warning: false\n\n\n\neval\nEvaluate code cells (if false just echos the code into output).\n\ntrue (default): evaluate code cell\nfalse: don’t evaluate code cell\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\necho\nInclude cell source code in rendered output.\n\ntrue (default): include source code in output\nfalse: do not include source code in output\nfenced: in addition to echoing, include the cell delimiter as part of the output.\n[...]: A list of positive or negative line numbers to selectively include or exclude lines (explicit inclusion/excusion of lines is available only when using the knitr engine)\n\n\n\noutput\nInclude the results of executing the code in the output. Possible values:\n\ntrue: Include results.\nfalse: Do not include results.\nasis: Treat output as raw markdown with no enclosing containers.\n\n\n\nwarning\nInclude warnings in rendered output.\n\n\nerror\nInclude errors in the output (note that this implies that errors executing code will not halt processing of the document).\n\n\ninclude\nCatch all for preventing any output (code or results) from being included in output.\n\n\ncache\nCache results of computations (using the knitr cache for R documents, and Jupyter Cache for Jupyter documents).\nNote that cache invalidation is triggered by changes in chunk source code (or other cache attributes you’ve defined).\n\ntrue: Cache results\nfalse: Do not cache results\nrefresh: Force a refresh of the cache even if has not been otherwise invalidated.\n\n\n\nfreeze\nControl the re-use of previous computational output when rendering.\n\ntrue: Never recompute previously generated computational output during a global project render\nfalse (default): Recompute previously generated computational output\nauto: Re-compute previously generated computational output only in case their source file changes\n\n\n\n\n\n\nFigures\n\n\n\n\n\n\n\nfig-width\nDefault width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-height\nDefault height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-format\nDefault format for figures generated by Matplotlib or R graphics (retina, png, jpeg, svg, or pdf)\n\n\nfig-dpi\nDefault DPI for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when provided at the cell level; it can only be provided with document or project metadata.\n\n\nfig-asp\nThe aspect ratio of the plot, i.e., the ratio of height/width. When fig-asp is specified, the height of a plot (the option fig-height) is calculated from fig-width * fig-asp.\nThe fig-asp option is only available within the knitr engine.\n\n\n\n\n\nTables\n\n\n\n\n\n\n\ntbl-colwidths\nApply explicit table column widths for markdown grid tables and pipe tables that are more than columns characters wide (72 by default).\nSome formats (e.g. HTML) do an excellent job automatically sizing table columns and so don’t benefit much from column width specifications. Other formats (e.g. LaTeX) require table column sizes in order to correctly flow longer cell content (this is a major reason why tables > 72 columns wide are assigned explicit widths by Pandoc).\nThis can be specified as:\n\nauto: Apply markdown table column widths except when there is a hyperlink in the table (which tends to throw off automatic calculation of column widths based on the markdown text width of cells). (auto is the default for HTML output formats)\ntrue: Always apply markdown table widths (true is the default for all non-HTML formats)\nfalse: Never apply markdown table widths.\nAn array of numbers (e.g. [40, 30, 30]): Array of explicit width percentages.\n\n\n\ndf-print\nMethod used to print tables in Knitr engine documents:\n\ndefault: Use the default S3 method for the data frame.\nkable: Markdown table using the knitr::kable() function.\ntibble: Plain text table using the tibble package.\npaged: HTML table with paging for row and column overflow.\n\nThe default printing method is kable.\n\n\n\n\n\nReferences\n\n\n\n\n\n\n\nbibliography\nDocument bibliography (BibTeX or CSL). May be a single file or a list of files\n\n\ncsl\nCitation Style Language file to use for formatting references.\n\n\nciteproc\nTurn on built-in citation processing. To use this feature, you will need to have a document containing citations and a source of bibliographic data: either an external bibliography file or a list of references in the document’s YAML metadata. You can optionally also include a csl citation style file.\n\n\ncitation-abbreviations\nJSON file containing abbreviations of journals that should be used in formatted bibliographies when form=\"short\" is specified. The format of the file can be illustrated with an example:\n{ \"default\": {\n \"container-title\": {\n \"Lloyd's Law Reports\": \"Lloyd's Rep\",\n \"Estates Gazette\": \"EG\",\n \"Scots Law Times\": \"SLT\"\n }\n }\n}\n\n\n\n\n\nFootnotes\n\n\n\n\n\n\n\nreference-location\nSpecify location for footnotes. Also controls the location of references, if reference-links is set.\n\nblock: Place at end of current top-level block\nsection: Place at end of current section\nmargin: Place at the margin\ndocument: Place at end of document\n\n\n\n\n\n\nCitation\n\n\n\ncitation\nCitation information for the document itself specified as CSL YAML in the document front matter.\nFor more on supported options, see Citation Metadata.\n\n\n\n\n\nLanguage\n\n\n\nlang\nIdentifies the main language of the document using IETF language tags (following the BCP 47 standard), such as en or en-GB. The Language subtag lookup tool can look up or verify these tags.\nThis affects most formats, and controls hyphenation in PDF output when using LaTeX (through babel and polyglossia) or ConTeXt.\n\n\nlanguage\nYAML file containing custom language translations\n\n\ndir\nThe base script direction for the document (rtl or ltr).\nFor bidirectional documents, native pandoc spans and divs with the dir attribute can be used to override the base direction in some output formats. This may not always be necessary if the final renderer (e.g. the browser, when generating HTML) supports the [Unicode Bidirectional Algorithm].\nWhen using LaTeX for bidirectional documents, only the xelatex engine is fully supported (use --pdf-engine=xelatex).\n\n\n\n\n\nIncludes\n\n\n\n\n\n\n\ninclude-before-body\nInclude contents at the beginning of the document body (e.g. after the
tag in HTML, or the \\begin{document} command in LaTeX).\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-after-body\nInclude content at the end of the document body immediately after the markdown content. While it will be included before the closing
tag in HTML and the \\end{document} command in LaTeX, this option refers to the end of the markdown content.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\ninclude-in-header\nInclude contents at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents.\nA string value or an object with key “file” indicates a filename whose contents are to be included\nAn object with key “text” indicates textual content to be included\n\n\nmetadata-files\nRead metadata from the supplied YAML (or JSON) files. This option can be used with every input format, but string scalars in the YAML file will always be parsed as Markdown. Generally, the input will be handled the same as in YAML metadata blocks. Values in files specified later in the list will be preferred over those specified earlier. Metadata values specified inside the document, or by using -M, overwrite values specified with this option.\n\n\n\n\n\nRendering\n\n\n\n\n\n\n\nfrom\nFormat to read from. Extensions can be individually enabled or disabled by appending +EXTENSION or -EXTENSION to the format name (e.g. markdown+emoji).\n\n\noutput-file\nOutput file to write to\n\n\noutput-ext\nExtension to use for generated output file\n\n\ntemplate\nUse the specified file as a custom template for the generated document.\n\n\ntemplate-partials\nInclude the specified files as partials accessible to the template for the generated content.\n\n\nstandalone\nProduce output with an appropriate header and footer (e.g. a standalone HTML, LaTeX, TEI, or RTF file, not a fragment)\n\n\nfilters\nSpecify executables or Lua scripts to be used as a filter transforming the pandoc AST after the input is parsed and before the output is written.\n\n\nshortcodes\nSpecify Lua scripts that implement shortcode handlers\n\n\nkeep-md\nKeep the markdown file generated by executing code\n\n\nkeep-ipynb\nKeep the notebook file generated from executing code.\n\n\nipynb-filters\nFilters to pre-process ipynb files before rendering to markdown\n\n\nextract-media\nExtract images and other media contained in or linked from the source document to the path DIR, creating it if necessary, and adjust the images references in the document so they point to the extracted files. Media are downloaded, read from the file system, or extracted from a binary container (e.g. docx), as needed. The original file paths are used if they are relative paths not containing … Otherwise filenames are constructed from the SHA1 hash of the contents.\n\n\nresource-path\nList of paths to search for images and other resources.\n\n\ndefault-image-extension\nSpecify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.\n\n\nabbreviations\nSpecifies a custom abbreviations file, with abbreviations one to a line. This list is used when reading Markdown input: strings found in this list will be followed by a nonbreaking space, and the period will not produce sentence-ending space in formats like LaTeX. The strings may not contain spaces.\n\n\ndpi\nSpecify the default dpi (dots per inch) value for conversion from pixels to inch/ centimeters and vice versa. (Technically, the correct term would be ppi: pixels per inch.) The default is 96. When images contain information about dpi internally, the encoded value is used instead of the default specified by this option.\n\n\n\n\n\nText Output\n\n\n\n\n\n\n\nwrap\nDetermine how text is wrapped in the output (the source code, not the rendered version).\n\nauto (default): Pandoc will attempt to wrap lines to the column width specified by columns (default 72).\nnone: Pandoc will not wrap lines at all.\npreserve: Pandoc will attempt to preserve the wrapping from the source document. Where there are nonsemantic newlines in the source, there will be nonsemantic newlines in the output as well.\n\n\n\ncolumns\nSpecify length of lines in characters. This affects text wrapping in generated source code (see wrap). It also affects calculation of column widths for plain text tables.\n\n\ntab-stop\nSpecify the number of spaces per tab (default is 4). Note that tabs within normal textual input are always converted to spaces. Tabs within code are also converted, however this can be disabled with preserve-tabs: false.\n\n\npreserve-tabs\nPreserve tabs within code instead of converting them to spaces. (By default, pandoc converts tabs to spaces before parsing its input.) Note that this will only affect tabs in literal code spans and code blocks. Tabs in regular text are always treated as spaces.\n\n\neol\nManually specify line endings:\n\ncrlf: Use Windows line endings\nlf: Use macOS/Linux/UNIX line endings\nnative (default): Use line endings appropriate to the OS on which pandoc is being run).\n\n\n\nstrip-comments\nStrip out HTML comments in the Markdown source, rather than passing them on to Markdown, Textile or HTML output as raw HTML. This does not apply to HTML comments inside raw HTML blocks when the markdown_in_html_blocks extension is not set.\n\n\nascii\nUse only ASCII characters in output. Currently supported for XML and HTML formats (which use entities instead of UTF-8 when this option is selected), CommonMark, gfm, and Markdown (which use entities), roff ms (which use hexadecimal escapes), and to a limited degree LaTeX (which uses standard commands for accented characters when possible). roff man output uses ASCII by default."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/formats/markdown/markua.html\",\n \"source\": \"https://quarto.org/docs/reference/formats/markdown/markua.html\"\n}"}}},{"rowIdx":106,"cells":{"page_content":{"kind":"string","value":"You can provide citation data for Quarto documents in the document front matter. The citation options are based upon the Citation Style Language (CSL) specification for items, but as YAML (rather than XML).\n---\ncitation:\n type: article-journal\n container-title: ACM Transactions on Embedded Computing Systems\n volume: 21\n issue: 2\n issued: 2022-03\n issn: 1539-9087\n doi: 10.1145/3514174\n---\n\nCitation\n\n\n\n\n\n\n\nabstract\nAbstract of the item (e.g. the abstract of a journal article)\n\n\nauthor\nThe author(s) of the item.\n\n\ndoi\nDigital Object Identifier (e.g. “10.1128/AEM.02591-07”)\n\n\nreferences\nResources related to the procedural history of a legal case or legislation;\nCan also be used to refer to the procedural history of other items (e.g. “Conference canceled” for a presentation accepted as a conference that was subsequently canceled; details of a retraction or correction notice)\n\n\ntitle\nThe primary title of the item."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.799Z\",\n \"loc\": \"https://quarto.org/docs/reference/metadata/citation.html\",\n \"source\": \"https://quarto.org/docs/reference/metadata/citation.html\"\n}"}}},{"rowIdx":107,"cells":{"page_content":{"kind":"string","value":"Date Parsing\nWhen you write a date for Quarto document, Quarto will attempt to parse a date string by trying a number of standard forms before ultimately attempting to infer the date format. Quarto will try dates formatted as follows, in the following order:\n\nMM/dd/yyyy\nMM-dd-yyyy\nMM/dd/yy\nMM-dd-yy\nyyyy-MM-dd\ndd MM yyyy\nMM dd, yyyy\nYYYY-MM-DDTHH:mm:ssZ\n\nIn addition, you may also provide date keywords, which will provide a dynamic date.\n\n\n\n\n\n\n\nKeyword\nDate\n\n\n\n\ntoday\nThe current local date, with the time portion set to 0.\n\n\nnow\nThe current local date and time.\n\n\nlast-modified\nThe last modified date and time of the input file containing the date.\n\n\n\n\n\nDate Formatting\nWhen specifying a date format in Quarto, there are two ways to represent the format that you’d like.\n\nUsing a Date Style\nYou can specify a simple date style which will be used to format the date.\nFor example:\n---\ndate: 03/07/2005\ndate-format: long\n---\nValid styles and examples of the formatted output are as follows:\n\n\n\n\n\n\n\n\nStyle\nDescription\nExample\n\n\n\n\nfull\nA full date that includes the weekday name\nMonday, March 7, 2005\n\n\nlong\nA long date that includes a wide month name\nMarch 7, 2005\n\n\nmedium\nA medium date\nMar 7, 2005\n\n\nshort\nA short date with a numeric month\n3/7/05\n\n\niso\nA short date in ISO format\n2005-03-07\n\n\n\n\n\nUsing a Date Format\nYou can also specify a date format string that will be used to format the date. For example:\n---\ndate: 03/07/2005\ndate-format: \"MMM D, YYYY\"\nThe permissible values in this string include:\n\n\n\nFormat String\nOutput\nDescription\n\n\n\n\nYY\n18\nTwo-digit year\n\n\nYYYY\n2018\nFour-digit year\n\n\nM\n1-12\nThe month, beginning at 1\n\n\nMM\n01-12\nThe month, 2-digits\n\n\nMMM\nJan-Dec\nThe abbreviated month name\n\n\nMMMM\nJanuary-December\nThe full month name\n\n\nD\n1-31\nThe day of the month\n\n\nDD\n01-31\nThe day of the month, 2-digits\n\n\nd\n0-6\nThe day of the week, with Sunday as 0\n\n\ndd\nSu-Sa\nThe min name of the day of the week\n\n\nddd\nSun-Sat\nThe short name of the day of the week\n\n\ndddd\nSunday-Saturday\nThe name of the day of the week\n\n\nH\n0-23\nThe hour\n\n\nHH\n00-23\nThe hour, 2-digits\n\n\nh\n1-12\nThe hour, 12-hour clock\n\n\nhh\n01-12\nThe hour, 12-hour clock, 2-digits\n\n\nm\n0-59\nThe minute\n\n\nmm\n00-59\nThe minute, 2-digits\n\n\ns\n0-59\nThe second\n\n\nss\n00-59\nThe second, 2-digits\n\n\nSSS\n000-999\nThe millisecond, 3-digits\n\n\nZ\n+05:00\nThe offset from UTC, ±HH:mm\n\n\nZZ\n+0500\nThe offset from UTC, ±HHmm\n\n\nA\nAM PM\n\n\n\na\nam pm\n\n\n\nQ\n1-4\nQuarter\n\n\nDo\n1st 2nd … 31st\nDay of Month with ordinal\n\n\nk\n1-24\nThe hour, beginning at 1\n\n\nkk\n01-24\nThe hour, 2-digits, beginning at 1\n\n\nX\n1360013296\nUnix Timestamp in second\n\n\nx\n1360013296123\nUnix Timestamp in millisecond\n\n\nw\n1 2 … 52 53\nWeek of year ( dependent WeekOfYear plugin )\n\n\nww\n01 02 … 52 53\nWeek of year, 2-digits ( dependent WeekOfYear plugin )\n\n\nW\n1 2 … 52 53\nISO Week of year ( dependent IsoWeek plugin )\n\n\nWW\n01 02 … 52 53\nISO Week of year, 2-digits ( dependent IsoWeek plugin )\n\n\nwo\n1st 2nd … 52nd 53rd\nWeek of year with ordinal ( dependent WeekOfYear plugin )\n\n\ngggg\n2017\nWeek Year ( dependent WeekYear plugin )\n\n\nGGGG\n2017\nISO Week Year ( dependent IsoWeek plugin )\n\n\nz\nEST\nAbbreviated named offset ( dependent Timezone plugin )\n\n\nzzz\nEastern Standard Time\nUnabbreviated named offset ( dependent Timezoneplugin )\n\n\n\nTo escape characters, wrap them in square brackets (e.g. [MM]).\nExample formats and outputs include:\n\n\n\n\n\n\n\nFormat\nOutput\n\n\n\n\nMMM D, YYYY\nMar 7, 2005\n\n\nDD/MM/YYYY\n07/03/2005\n\n\n[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]\nYYYYescape 2005-03-07T00:00:00-05:00Z\n\n\nYYYY-MM-DDTHH:mm:ssZ\n2005-03-07T00:00:00-05:00\n\n\ndddd MMM D, YYYY\nMonday Mar 7, 2005"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.795Z\",\n \"loc\": \"https://quarto.org/docs/reference/dates.html\",\n \"source\": \"https://quarto.org/docs/reference/dates.html\"\n}"}}},{"rowIdx":108,"cells":{"page_content":{"kind":"string","value":"Overview\nUse the docx format to create MS Word output. For example:\n---\ntitle: \"My Document\"\nformat:\n docx:\n toc: true\n number-sections: true\n highlight-style: github\n---\nThis example highlights a few of the options available for MS Word output. This document covers these and other options in detail. See the Word format reference for a complete list of all available options.\nTo learn about creating custom templates for use with the docx format, see the article on Word Templates.\n\n\nTable of Contents\nUse the toc option to include an automatically generated table of contents in the output document. Use the toc-depth option to specify the number of section levels to include in the table of contents. The default is 3 (which means that level-1, 2, and 3 headings will be listed in the contents). For example:\ntoc: true\ntoc-depth: 2\nYou can customize the title used for the table of contents using the toc-title option:\ntoc-title: Contents\nIf you want to exclude a heading from the table of contents, add both the .unnumbered and .unlisted classes to it:\n### More Options {.unnumbered .unlisted}\n\n\nSection Numbering\nUse the number-sections option to number section headings in the output document. For example:\nnumber-sections: true\nUse the number-depth option to specify the deepest level of heading to add numbers to (by default all headings are numbered). For example:\nnumber-depth: 3\nTo exclude an individual heading from numbering, add the .unnumbered class to it:\n### More Options {.unnumbered}\n\n\nSyntax Highlighting\nPandoc will automatically highlight syntax in fenced code blocks that are marked with a language name. For example:\n```python\n1 + 1\n```\nPandoc can provide syntax highlighting for over 140 different languages (see the output of quarto pandoc --list-highlight-languages for a list of all of them). If you want to provide the appearance of a highlighted code block for a language not supported, just use default as the language name.\nYou can specify the code highlighting style using highlight-style and specifying one of the supported themes. Supported themes include: arrow, pygments, tango, espresso, zenburn, kate, monochrome, breezedark, haddock, atom-one, ayu, breeze, dracula, github, gruvbox, monokai, nord, oblivion, printing, radical, solarized, and vim.\nFor example:\nhighlight-style: github\nHighlighting themes can provide either a single highlighting definition or two definitions, one optimized for a light colored background and another optimized for a dark color background. When available, Quarto will automatically select the appropriate style based upon the code chunk background color’s darkness. You may always opt to specify the full name (e.g. atom-one-dark) to bypass this automatic behavior.\nBy default, code is highlighted using the arrow theme, which is optimized for accessibility. Here are examples of the arrow light and dark themes:\n\nLightDark\n\n\n\n\n\n\n\n\n\n\n\nCode Annotation\nYou can add annotations to lines of code in code blocks and executable code cells. See Code Annotation for full details."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.703Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/ms-word.html\",\n \"source\": \"https://quarto.org/docs/output-formats/ms-word.html\"\n}"}}},{"rowIdx":109,"cells":{"page_content":{"kind":"string","value":"Overview\nDocusaurus is a popular markdown documentation system. Pages in Docusaurus websites are typically written in plain markdown, so don’t have a straightforward way to automatically and reproducibly incorporate computational output.\nUsing the Quarto docusaurus-md format, you can incorporate computational output (e.g. R or Python code that produces plots) into Docusaurus websites. This article explains how.\nIt’s important to note that many of the Quarto features related to theming, page layout, and navigation are not applicable when you are using Quarto with Docusaurus. Docusaurus has its own theming system, syntax highlighting, table of contents, page layout, navigational menus, and full text search. You’ll use Quarto to execute code and generate markdown that is rendered within the Docusaurus HTML publishing framework rather than Quarto’s own.\n\n\nWorkflow\nThe basic concept of using Quarto with Docusaurus is that you take computational markdown documents (.qmd) or Jupyter notebooks (.ipynb) and use them to generate plain markdown files (.md) that are rendered to HTML by Docusaurus.\nindex.qmd quarto => index.md docusaurus => index.html\nThe quarto render and quarto preview commands are used to transform .qmd or .ipynb files to Docusaurus compatible markdown (.md). The computational files are located in the same place you would also locate ordinary markdown files (e.g. the blog directory).\nAfter rendering, a plain .md file is written right alongside the computational document. This markdown file is then processed by Docusaurus.\n\nLive Preview\nThe quarto preview command will automatically recognize when it is run from a directory that contains a Docusaurus website:\n\n\nTerminal\n\ncd my-docusaurus-website\nquarto preview\n\nThis will automatically run docusaurus start on your behalf to bring up a local preview server. In addition, it will monitor the filesystem for changes to .qmd and .ipynb inputs and automatically re-render them to Docusaurus compatible .md files when they change.\nNote that this also works for the integrated Render/Preview command within the Quarto VS Code Extension.\n\n\nRendering\nIf you are not previewing and want to render all of the Quarto documents (.qmd) and notebooks (.ipynb) in your site, call quarto render from the root directory of the site:\n\n\nTerminal\n\ncd my-docusaurus-website\nquarto render \n\nTypically you’ll want to do a quarto render at the site level before you build the site for publishing:\n\n\nTerminal\n\nquarto render && npm run build\n\nYou can also render individual documents or notebooks:\n\n\nTerminal\n\nquarto render blog/2022-07-26/hello-quarto/index.qmd\n\nIf you have computationally expensive documents you may want to consider using Quarto’s freeze feature to only re-execute code when your document source code changes.\nNote that if aren’t ever rendering at the project level and just have individual files that you want to render with Quarto, you should specify the docusaurus-md format as follows:\n---\ntitle: \"My Blog Post\"\nformat: docusaurus-md\n---\n\n\nConfiguration\nWhile Quarto works well within a Docusaurus site that has no _quarto.yml project config file, you can add one if you want to customize the default behavior, add a bibliography, etc. For example, here is what a simple customized _quarto.yml file might look like:\n\n\n_quarto.yml\n\nproject:\n type: docusaurus\n \nformat: \n docusaurus-md:\n code-fold: true\n \nexecute: \n warning: false\n\nbiliography: references.lib\n\nIt’s important to note that if you do provide an explicit _quarto.yml file you need to explicitly specify the project type (type: docusaurus) as shown above.\n\nExternal Directory\nYou might decide that you prefer to keep all of your Quarto documents and/or notebooks in their own directory, separate from the Docusaurus website. In this configuration you would mirror the directory structure of your site in the Quarto directory, and then set the output-dir in the project file to point to the Docusaurus directory. For example:\n\n\n_quarto.yml\n\nproject:\n type: docusaurus\n output-dir: ../docusaurus-site\n\n\n\n\n\nCode Blocks\nCode blocks in Docusaurus are very similar to Quarto. One important thing to keep in mind is that the syntax highlighting theme comes from Docusaurus rather than Quarto. See the theming documentation for additional details.\nIf you use the filename attribute in Quarto, it will automatically become the code block title in Docusaurus:\n```{.python filename=\"hello.py\"}\n1 + 1\n```\n\nCode folding is also automatically applied. So, for example the following executable code block:\n```{python}\n#| code-fold: true\n1 + 1\nIs rendered as a collasable block in Docusaurus:\n\n\n\nCallouts & Tabsets\nLike Quarto, Docusaurus includes support for Callouts and Tabsets. When including these components in a document, you should use the Quarto standard markdown syntax, which will be automatically translated to the appropriate Docusaurus constructs.\nFor example, here is a Quarto callout:\n::: {.callout-important}\nNote the Quarto callout syntax is used here.\n:::\nWhich renders in Docusaurus as:\n\nHere is a Quarto tabset:\n::: {.panel-tabset group=\"fruits\"}\n\n## Apple\nThis is an apple 🍎\n\n## Orange\nThis is an orange 🍊\n\n## Banana\nThis is a banana 🍌\n\n:::\nWhich renders in Docusaurus as:\n\n\n\nHTML and MDX\nDocusaurus websites use a flavor of markdown (MDX) that has some major differences from Pandoc (Quarto’s native markdown renderer), the biggest of which is that while Quarto allows embedding of HTML, MDX does not. Rather, MDX allows direct embedding of JavaScript code and React JSX components (which look like HTML but have some significant differences in behavior).\nQuarto’s support for Docusaurus accounts for these differences, and enables you to embed raw HTML as well as use MDX components and JavaScript when required.\n\nHTML Blocks\nDocusaurus websites don’t allow arbitrary HTML content. Rather, JSX is used to emit HTML tags. While these JSX tags look and act like HTML tags most of the time, there are some important caveats and constraints, most notably that the class attribute must be written as className, and style attributes need to be specified as JavaScript objects rather than CSS strings.\nIf you need to include raw HTML that doesn’t conform to JSX, you should use a raw ```{=html} code block. For example:\n```{=html}\n
Paragraph
\n```\nIf you need to embed HTML code (e.g. a badge, video, or tweet) you should definitely use raw HTML blocks as shown above to avoid errors which will occur if JSX encounters tags it can’t parse.\nNote that HTML produced by computations (e.g. a Pandas data frame displayed in a notebook) often use raw HTML with class and/or style tags. This computational output is automatically included in a raw ```{=html} code block so that it renders correctly in Docusaurus.\n\n\nMDX Blocks\nYou can also use MDX components and JavaScript within Quarto documents that target Docusaurus. To do this, enclose them in an ```{=mdx} raw code block. For example:\n```{=mdx}\nexport const Highlight = ({children, color}) => (\n \n {children}\n \n);\n\nDocusaurus GREEN and Rams blue are my favorite colors.\n\nI can write **Markdown** alongside my _JSX_!\n```\nWhich is rendered as follows:\n\nNote that ordinary markdown content can also be included in mdx blocks alonside JavaScript and React components.\n\n\n\nLaTeX Math\nBy default, Quarto renders LaTeX math within Docusaurus projects using WebTeX, a service that creates PNG images for publishing on the web given TeX expressions as input.\nWebTeX works for any web page that can display images, and requires no special JavaScript or CSS. Any inline or display equations contained within your document will be converted to an image URL that requests a rendered version of the equation. For example, the following markdown:\n$x + 1$\nWill be converted to:\n\nWhich renders as:\n\n\nDark Mode\nSVG is used as the default rendering method because it has the best overall appearance. However, if your docusaurus document is being rendered on a dark background, you may want to switch to PNG with a dark background specified. You can do this as follows:\nformat:\n docusaurus:\n html-math-method: \n method: webtex\n url: https://latex.codecogs.com/png.image?%5Cbg_black&space;\n\n\nKaTeX\nIt is possible to configure Docusaurus to use KaTeX for math rendering. See the Docusaurus documentation on using KaTeX to learn more about this option.\nOnce you’ve confirmed that KaTeX is rendering equations correctly in your site, you should update your _quarto.yml file to specify that katex rather than webtex should be used for rendering equations:\n\n\n_quarto.yml\n\nformat:\n docusaurus-md:\n html-math-method: katex"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.675Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/docusaurus.html\",\n \"source\": \"https://quarto.org/docs/output-formats/docusaurus.html\"\n}"}}},{"rowIdx":110,"cells":{"page_content":{"kind":"string","value":"Overview\nPandoc supports the use of a wide range of TeX distributions and PDF compilation engines including pdflatex, xelatex, lualatex, tectonic, and latexmk.\nWhile you can employ whatever toolchain you like for LaTeX compilation, we strongly recommend the use of TinyTeX, which is a distribution of TeX Live that provides a reasonably sized initial download (~100 MB) that includes the 200 or so most commonly used TeX packages for Pandoc documents.\nWe also recommend the use of Quarto’s built in PDF compilation engine, which among other things performs automatic installation of any missing TeX packages.\n\n\nInstalling TeX\nTo install TinyTeX, use the following command:\n\n\nTerminal\n\nquarto install tinytex\n\nTinyTeX is not installed to the system PATH so will not affect other applications that use TeX. If you want to use TinyTeX with other applications, add the --update-path flag when installing (this will add TinyTex to the system path):\n\n\nTerminal\n\nquarto install tinytex --update-path\n\nIf you already have another installation of TeX that you prefer to use with Quarto, add the latex-tinytex: false in your project or document front matter to prevent Quarto from using its internal version.\nIf you prefer TeX Live, you can find instructions for installing it here: https://tug.org/texlive/.\nNote that Quarto’s automatic installation of missing TeX packages will work for TinyTeX and TeX Live, but not for other TeX distributions (as it relies on TeX Live’s tlmgr command).\n\n\nManaging TeX\nIn addition to installing TinyTeX, you may also update or remove the installation of TinyTex. To see the currently installed version of TinyTex, use the command:\n\n\nTerminal\n\nquarto list tools\n\nwhich will provide a list of available tools, the installed versions, and the latest available version:\n[✓] Inspecting tools\n\nTool Status Installed Latest\nchromium Not installed --- 869685\ntinytex Up to date v2022.10 v2022.10\nTo update to the latest version, use the command:\n\n\nTerminal\n\nquarto update tinytex\n\nwhich will download and install the latest version of TinyTex (following the same behavior as described for installing TinyTex above).\nTo remove TinyTex altogether, use the command:\n\n\nTerminal\n\nquarto uninstall tinytex\n\n\n\n\n\n\n\nTip\n\n\n\nEach year in April, TeXlive updates their remote package repository to the new year’s version of TeX. When this happens, previous year installations of TeX will not be able to download and install packages from the remote repository. When this happens, you may see an error like:\nYour TexLive version is not updated enough to connect to the remote repository and download packages. Please update your installation of TexLive or TinyTex.\nWhen this happens, you can use quarto update tinytex to download and install an updated version of tinytex.\n\n\n\n\nQuarto PDF Engine\nQuarto’s built-in PDF compilation engine handles running LaTeX multiple times to resolve index and bibliography entries, and also performs automatic LaTeX package installation. This section describes customizing the built-in engine (see the Alternate PDF Engines section below for docs on using other engines).\n\nPDF Compilation\nThe following options are available for customizing PDF compilation:\n\n\n\n\n\n\n\nOption\nDescription\n\n\n\n\nlatex-min-runs\nNumber (minimum number of compilation passes)\n\n\nlatex-max-runs\nNumber (maximum number of compilation passes)\n\n\nlatex-clean\nBoolean (clean intermediates after compilation, defaults to true)\n\n\nlatex-output-dir\nString (output directory for intermediates and PDF)\n\n\nlatex-makeindex\nString (program to use for makeindex)\n\n\nlatex-makeindex-opts\nArray (options for makeindexprogram)\n\n\n\n\n\nPackage Installation\nThe following options are available for customizing automatic package installation:\n\n\n\nOption\nDescription\n\n\n\n\nlatex-auto-install\nBoolean (enable/disable automatic package installation)\n\n\nlatex-tlmgr-opts\nArray (options for tlmgr)\n\n\n\n\n\n\nAlternate PDF Engines\nYou can use the pdf-engine and pdf-engine-opts to control the PDF engine that Quarto uses to compile the LaTeX output into a PDF. For example:\ntitle: \"My Document\"\npdf-engine: lualatex\npdf-engine-opt: -outdir=out\nThe above example will use the lualatex PDF engine rather than the default xelatex.\n\n\nLatexmk\nQuarto includes a built in Latexmk engine, which will run the pdf-engine more than once to generate your PDF (for example if you’re using cross references or a bibliography). In addition, this engine will detect and attempt to install missing packages, fonts, or commands if TeX Live is available.\nYou can disable Quarto’s built in Latexmk engine by settng the latex-auto-mk option to false. For example:\ntitle: \"My Document\"\nlatex-auto-mk: false"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.703Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/pdf-engine.html\",\n \"source\": \"https://quarto.org/docs/output-formats/pdf-engine.html\"\n}"}}},{"rowIdx":111,"cells":{"page_content":{"kind":"string","value":"Overview\nPandoc supports a huge array of output formats, all of which can be used with Quarto. To use any Pandoc format just use the format option or the --to command line option.\nFor example, here’s some YAML that specifies the use of the html format as well as a couple of format options:\n---\ntitle: \"My Document\"\nformat: \n html:\n toc: true\n code-fold: true\n---\nAlternatively you can specify the use of a format on the command line:\n\n\nTerminal\n\nquarto render document.qmd --to html\n\nSee below for a list of all output formats by type along with links to their reference documentation.\n\n\nDocuments\n\n\n\n\n\n\n\nHTML\nHTML is a markup language used for structuring and presenting content on the web.\n\n\nPDF\nPDF is a file format for creating print-ready paged documents.\n\n\nMS Word\nMS Word is the word processor included with Microsoft Office.\n\n\nOpenOffice\nOpenDocument is an open standard file format for word processing documents.\n\n\nePub\nePub is an e-book file format that is supported by many e-readers.\n\n\n\n\n\nPresentations\n\n\n\n\n\n\n\nRevealjs\nRevealjs is an open source HTML presentation framework.\n\n\nPowerPoint\nPowerPoint is the presentation editing software included with Microsoft Office.\n\n\nBeamer\nBeamer is a LaTeX class for producing presentations and slides.\n\n\n\n\n\nMarkdown\n\n\n\n\n\n\n\nGitHub\nGitHub Flavored Markdown (GFM) is the dialect of Markdown that is currently supported for user content on GitHub.\n\n\nCommonMark\nCommonMark is a strongly defined, highly compatible specification of Markdown.\n\n\nHugo\nHugo is an open-source static website generator.\n\n\nDocusaurus\nDocusaurus is an open-source markdown documentation system.\n\n\nMarkua\nMarkua is a markdown variant used by Leanpub.\n\n\n\n\n\nWikis\n\n\n\n\n\n\n\nMediaWiki\nMediaWiki is the native document format of Wikipedia.\n\n\nDokuWiki\nDokuWiki is a simple to use and highly versatile open source wiki software that doesn’t require a database.\n\n\nZimWiki\nZim is a graphical text editor used to maintain a collection of wiki pages.\n\n\nJira Wiki\nJira Wiki is the native document format for the Jira issue tracking and project management system from Atlassian.\n\n\nXWiki\nXWiki is an open-source enterprise wiki system.\n\n\n\n\n\nMore Formats\n\n\n\n\n\n\n\nJATS\nJATS (Journal Article Tag Suite) is an XML format for marking up and exchanging journal content.\n\n\nJupyter\nJupyter Notebooks combine software code, computational output, explanatory text and multimedia resources in a single document.\n\n\nConTeXt\nConTeXt is a system for typesetting documents based on TEX and METAPOST.\n\n\nRTF\nThe Rich Text Format (RTF) is a file format for for cross-platform document interchange.\n\n\nreST\nreStructuredText is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system.\n\n\nAsciiDoc\nAsciiDoc is a text document format for writing documentation, articles, and books, ebooks, slideshows, web pages, man pages and blogs.\n\n\nOrg-Mode\nOrg-Mode is an Emacs major mode for keeping notes, authoring documents, creating computational notebooks, and more.\n\n\nMuse\nEmacs Muse is an authoring and publishing environment for Emacs.\n\n\nGNU Texinfo\nTexinfo is the official documentation format of the GNU project.\n\n\nGroff Man Page\nThe Groff (GNU troff) man page document formats consists of plain text mixed with formatting commands that produce ASCII/UTF8 for display at the terminal.\n\n\nGroff Manuscript\nThe Groff (GNU troff) manuscript format consists of plain text mixed with formatting commands that produces PostScript, PDF, or HTML.\n\n\nHaddock markup\nHaddock is a tool for automatically generating documentation from annotated Haskell source code.\n\n\nOPML\nOPML (Outline Processor Markup Language) is an XML format for outlines.\n\n\nTextile\nTextile is a simple text markup language that makes it easy to structure content for blogs, wikis, and documentation.\n\n\nDocBook\nDocBook is an XML schema particularly well suited to books and papers about computer hardware and software.\n\n\nInDesign\nICML is an XML representation of an Adobe InDesign document.\n\n\nTEI Simple\nTEI Simple aims to define a new highly-constrained and prescriptive subset of the Text Encoding Initiative (TEI) Guidelines suited to the representation of early modern and modern books.\n\n\nFictionBook\nFictionBook is an open XML-based e-book format."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.675Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/all-formats.html\",\n \"source\": \"https://quarto.org/docs/output-formats/all-formats.html\"\n}"}}},{"rowIdx":112,"cells":{"page_content":{"kind":"string","value":"As a part of Quarto, we’ve developed a simple single file format that describes declarations, variables, and rules that should be layered into Scss files when compiling them into css. The basic structure of a theme file is:\n\nA single text file that contains valid Scss\nSpecial comments are used to denote regions of functions, defaults, mixins, and rules (region decorators).\nAt least one of these region decorators must be present in order for the theme file to be valid.\nMore than one of each type of region decorator are permitted. If more than one of any type is present, all regions of a given type will be merged into a single block of that type in the order in which they are encountered in the file.\nWhen compiling, the sections will be layered according to type, functions first, then variables, then mixins, then rules.\nThe directory that contains your theme file will be added to the load path, allowing @use or @import statements to be resolved using the same directory that contains the theme file.\n\nHere is an example file:\n/*-- scss:functions --*/\n@function colorToRGB ($color) {\n @return \"rgb(\" + red($color) + \", \" + green($color) + \", \" + blue($color)+ \")\";\n}\n\n/*-- scss:defaults --*/\n$h2-font-size: 1.6rem !default;\n$headings-font-weight: 500 !default;\n$body-color: $gray-700 !default;\n\n/*-- scss:rules --*/\nh1, h2, h3, h4, h5, h6 {\n text-shadow: -1px -1px 0 rgba(0, 0, 0, .3);\n}\n\nBootswatch Sass Theme Files\nWe’ve merged Bootswatch themes for Bootstrap 5 into this single file theme format in our repo here:\nhttps://github.com/quarto-dev/quarto-cli/tree/main/src/resources/formats/html/bootstrap/themes\nFrom time to time, as the Bootswatch themes are updated, we will update these merged theme files.\n\n\nBootstrap / Bootswatch Layering\nWhen using the Quarto HTML format, we allow the user to specify theme information in the document front matter (or project YAML). The theme information consists of a list of one or more of\n\nA valid built in Bootswatch theme name\nA theme file (valid as described above).\n\nFor example the following would use the cosmo Bootswatch theme and provide customization using the custom.scss file:\ntheme:\n - cosmo\n - custom.scss\nWhen compiling the CSS for a Quarto website or HTML page, we merge any user provided theme file(s) or Bootswatch themes with the Bootstrap Scss in the following layers:\nUses\n Bootstrap\n Theme(s) /*-- scss:uses --*/\n \nFunctions\n Bootstrap\n Theme(s) /*-- scss:functions --*/\n\nVariables\n Themes(s) /*-- scss:defaults --*/\n Bootstrap\n \nMixins \n Bootstrap\n Theme(s) /* -- scss:mixins --*/\n\nRules\n Bootstrap\n Theme(s) /*-- scss:rules --*/\nWe order the themes according to the order that they are specified in the YAML, maintaining the order for declarations and rules and reversing the order for variables (allowing the files specified later in the list to provide defaults variable values to the files specified earlier in the list). Layering of the example themes above would be as follows:\nUses\n Bootstrap\n cosmo /*-- scss:uses --*/\n custom.scss /*-- scss:uses --*/\n\nFunctions\n Bootstrap\n cosmo /*-- scss:functions --*/\n custom.scss /*-- scss:functions --*/\n\nVariables\n custom.scss /*-- scss:defaults --*/\n cosmo /*-- scss:defaults --*/\n Bootstrap\n\nMixins\n Bootstrap\n cosmo /* -- scss:mixins --*/\n custom.scss /* -- scss:mixins --*/\n\nRules\n Bootstrap\n cosmo /*-- scss:rules --*/\n custom.scss /*-- scss:rules --*/"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.675Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/html-themes-more.html\",\n \"source\": \"https://quarto.org/docs/output-formats/html-themes-more.html\"\n}"}}},{"rowIdx":113,"cells":{"page_content":{"kind":"string","value":"Overview\nQuarto provides a default layout for HTML pages that should work well for many documents. However, if the default layout isn’t working for your content, you can adjust it.\nOn this page, learn about:\n\nThe three high level layout options for your pages in Page Layout.\nHow to adjust the width of the individual layout components (sidebar, body, margins, and gutter) to fit your content in Grid Customization.\n\n\n\nPage Layout\nBy default Quarto HTML documents display content centered at a width optimized for readability (typically from 600px to 900px wide). While this is a sound default layout for traditional articles, for other types of pages (e.g. landing or index pages) you may want to use other layouts.\nThe page-layout option can be use to control the layout used. For example:\nformat: \n html:\n page-layout: full\nThe various page-layout options are described below.\n\nArticle\npage-layout: article\nArticle layout provides a content area with a page based grid layout that provides margins, areas for sidebars, and a reading width optimized body region. The precise size of the document regions will vary slightly depending upon the sidebar (if present) and the presence or absence of margin or complex layout elements. To learn more, checkout the guide to Article Layout.\n\n\nFull\npage-layout: full\nFull layout uses the article grid system, but automatically expands the content area to use the sidebar and margin region if no content is placed within those regions. This is useful for layouts that don’t need to be constrained to reading width and that will benefit from additional horizontal space (e.g. landing or index pages)\n\n\nCustom\npage-layout: custom\nCustom layout provides a simple HTML content container with no default grid system, padding, or margins. The default HTML framing provided will look this this:\n
\n \n
\nIn websites, custom layouts do not include navigation sidebars but do include the site navbar and footer.\n\nCSS Grid\nIf you are using page-layout: custom, you’ll likely want to utilize the Bootstrap CSS Grid layout system (which is available by default in Quarto documents) for creating more sophisticated layouts.\nFor example, here’s a simple 2-column grid:\n::: {.grid}\n\n::: {.g-col-4}\nThis column takes 1/3 of the page\n:::\n\n::: {.g-col-8}\nThis column takes 2/3 of the page\n:::\n\n:::\nBootstrap’s CSS Grid system includes facilities for responsiveness, wrapping, nesting, and fine grained customization of column behavior.\nNote that this isn’t the traditional Bootstrap grid used in older versions of Bootstrap – rather, it’s a brand new layout system introduced in Bootstrap 5.1 based on the CSS Grid standard. Quarto uses this newer system because it has more sophisticated layout capabilities akin to what LaTeX offers for print documents.\nSee the Bootstrap CSS Grid documentation for additionals details.\n\n\n\n\nGrid Customization\n\n\n\n\n\n\nQuarto 1.3 Feature\n\n\n\nThis feature is new in Quarto 1.3, which you can download at https://quarto.org/docs/download/\n\n\nYou can control the width of the layout components in HTML documents with YAML options and SCSS. For example, if long entries in a sidebar are being wrapped, it may make sense to increase the width of sidebar:\n\n\n\n\n\n\nDefault Layout\n\n\n\n\n\n\n\nWider Sidebar\n\n\n\n\n\nThis change can be made by adding the grid option to the _quarto.yml file, increasing the sidebar-width from its default of 250px:\n\n\n_quarto.yml\n\nformat:\n html:\n grid:\n sidebar-width: 350px\n\nThere are four variables to control the four components of the layout: the sidebar, the body, the margin, and the gutters.\nThe rest of this section describes these components, and their default values, as well as how to customize them either with YAML or SCSS variables. You can also find Additional Examples of customization in action.\n\nHTML Page Layout\nQuarto HTML documents are arranged in a structure composed of a sidebar on the left, the body of the document, the margin of the document on the right, and the space between these elements, known as gutters. This is illustrated below:\n\nThe width of these four components is controlled by four variables. These variables, along with their default values are:\n\n\nDefault values for the width of layout components\n\n\nElement\nSize\n\n\n\n\nsidebar-width\n250px\n\n\nbody-width\n800px\n\n\nmargin-width\n250px\n\n\ngutter-width\n1.5em\n\n\n\n\nThe values of these variables don’t directly specify the display width of the corresponding component, instead they specify a maximum base value. The maximum values are scaled to create minimum values, and together they are used to compute the size and position of each component across different layout types (fixed vs. floating), responsive sizes (large screen vs. mobile size), and page contents (margin vs. no margin content).\n\n\nCustomizing Component Widths\nYou can control the component width variables using YAML or SCSS variables. To set these options in YAML, you may use the grid option :\n\n\n_quarto.yml\n\nformat:\n html: \n grid:\n sidebar-width: 300px\n body-width: 900px\n margin-width: 300px\n gutter-width: 1.5rem\n\n\n\n\n\n\n\nWebsites vs. Standalone HTML Pages\n\n\n\nCustomizing the layout of pages that are part of a Quarto website with YAML should happen at the site level in _quarto.yml. For HTML documents that aren’t part of a website, these options could also be set in the YAML at the top of the document.\n\n\nSimilarly, in a custom theme scss file, you may set variables like:\n// The left hand sidebar\n$grid-sidebar-width: 300px !default;\n\n// The main body\n$grid-body-width: 900px !default;\n\n// The right hand margin bar\n$grid-margin-width: 300px !default;\n\n// The gutter that appears between the above columns\n$grid-column-gutter-width: 1.5rem !default;\nsidebar-width, body-width, and margin-width should be specified in pixels (px) as the values will be used when computing other sizes. Requiring pixel sizing is a limitation of our approach to the Quarto’s layout, but also typically makes sense since the overall document width is usually tied to the browser size and responsive breakpoints rather than font size or other relative measures.\ngutter-width may be specified in pixels or other units such as em or rem which are responsive to the document font size.\n\n\nAdditional Examples\nIncreasing the margin width may make sense on a website that has many figures or tables in the margin. For example, this YAML increases the margin-width by 200px over the default value:\nformat:\n html:\n grid:\n margin-width: 450px\n\n\n\n\n\n\nDefault Layout\n\n\n\n\n\n\n\nWider Margin\n\n\n\n\n\nThe effect of changing margin-width without changing body-width is to increase the overall page width (there is less white space on the far left and right of the page). Alternatively, to keep the overall page width the same body-width can be decreased by the same amount as margin-width increased:\nformat:\n html:\n grid:\n margin-width: 450px\n body-width: 600px\n\n\n\n\n\n\nDefault Layout\n\n\n\n\n\n\n\nWider Margin, Narrower Body"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.703Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/page-layout.html\",\n \"source\": \"https://quarto.org/docs/output-formats/page-layout.html\"\n}"}}},{"rowIdx":114,"cells":{"page_content":{"kind":"string","value":"Overview\nUse the pdf format to create PDF output. For example:\n---\ntitle: \"My document\"\nformat:\n pdf:\n toc: true\n number-sections: true\n colorlinks: true\n---\nThis example highlights a few of the options available for PDF output. This article covers these and other options in detail. See the PDF format reference for a complete list of all available options.\nIf you want to produce raw LaTeX output (a .tex file) rather than a PDF, all of the options documented here are still available (see the LaTeX Output section below for additional details).\n\n\n\n\n\n\nNote\n\n\n\nNote that while we will focus here exclusively on the use LaTeX to create PDFs, Pandoc also has support for creating PDFs using ConTeXt, roff ms, or HTML (via wkhtmltopdf). See the Pandoc documentation on Creating a PDF for additional details.\n\n\n\nPrerequisites\nIn order to create PDFs you will need to install a recent distribution of TeX. We recommend the use of TinyTeX (which is based on TexLive), which you can install with the following command:\n\n\nTerminal\n\nquarto install tinytex\n\nSee the article on PDF Engines for details on using other TeX distributions and PDF compilation engines.\n\n\n\nDocument Class\nQuarto uses KOMA Script document classes by default for PDF documents and books. KOMA-Script classes are drop-in replacements for the standard classes with an emphasis on typography and versatility.\nFor PDF documents this results in the following Pandoc options set by default:\nformat:\n pdf:\n documentclass: scrartcl\n papersize: letter\nYou can set documentclass to the standard article, report or book classes, to the KOMA Script equivalents scrartcl, scrreprt, and scrbook respectively, or to any other class made available by LaTeX packages you have installed.\n\n\n\n\n\n\nNote\n\n\n\nSetting your documentclass to either book or scrbook will automatically handle many of the common needs for printing and binding PDFs into a physical book (i.e., chapters start on odd pages, alternating margin sizes, etc).\n\n\nSee the Output Options section below for additional details on customizing LaTeX document options.\n\n\nTable of Contents\nUse the toc option to include an automatically generated table of contents in the output document. Use the toc-depth option to specify the number of section levels to include in the table of contents. The default is 3 (which means that level-1, 2, and 3 headings will be listed in the contents). For example:\ntoc: true\ntoc-depth: 2\nYou can customize the title used for the table of contents using the toc-title option:\ntoc-title: Contents\nIf you want to exclude a heading from the table of contents, add both the .unnumbered and .unlisted classes to it:\n### More Options {.unnumbered .unlisted}\n\n\nSection Numbering\nUse the number-sections option to number section headings in the output document. For example:\nnumber-sections: true\nUse the number-depth option to specify the deepest level of heading to add numbers to (by default all headings are numbered). For example:\nnumber-depth: 3\nTo exclude an individual heading from numbering, add the .unnumbered class to it:\n### More Options {.unnumbered}\n\n\nSyntax Highlighting\nPandoc will automatically highlight syntax in fenced code blocks that are marked with a language name. For example:\n```python\n1 + 1\n```\nPandoc can provide syntax highlighting for over 140 different languages (see the output of quarto pandoc --list-highlight-languages for a list of all of them). If you want to provide the appearance of a highlighted code block for a language not supported, just use default as the language name.\nYou can specify the code highlighting style using highlight-style and specifying one of the supported themes. Supported themes include: arrow, pygments, tango, espresso, zenburn, kate, monochrome, breezedark, haddock, atom-one, ayu, breeze, dracula, github, gruvbox, monokai, nord, oblivion, printing, radical, solarized, and vim.\nFor example:\nhighlight-style: github\nHighlighting themes can provide either a single highlighting definition or two definitions, one optimized for a light colored background and another optimized for a dark color background. When available, Quarto will automatically select the appropriate style based upon the code chunk background color’s darkness. You may always opt to specify the full name (e.g. atom-one-dark) to bypass this automatic behavior.\nBy default, code is highlighted using the arrow theme, which is optimized for accessibility. Here are examples of the arrow light and dark themes:\n\nLightDark\n\n\n\n\n\n\n\n\n\n\n\nCode Annotation\nYou can add annotations to lines of code in code blocks and executable code cells. See Code Annotation for full details.\n\n\nOutput Options\nThere are numerous options available for customizing PDF output, including:\n\nSpecifying document classes and their options\nIncluding lists of figures and tables\nUsing the geometry and hyperref packages\nNumerous options for customizing fonts and colors.\n\nFor example, here we use a few of these options:\n---\ntitle: \"My Document\"\nformat: \n pdf: \n documentclass: report\n classoption: [twocolumn, landscape]\n lof: true\n lot: true\n geometry:\n - top=30mm\n - left=20mm\n - heightrounded\n fontfamily: libertinus\n colorlinks: true\n---\nSee the Pandoc documentation on metadata variables for LaTeX for documentation on all available options.\n\n\nCitations\nWhen creating PDFs, you can choose to use either the default Pandoc citation handling based on citeproc, or alternatively use natbib or BibLaTeX. This can be controlled using the cite-method option. For example:\nformat:\n pdf: \n cite-method: biblatex\nThe default is to use citeproc (Pandoc’s built in citation processor).\nSee the main article on using Citations with Quarto for additional details on citation syntax, available bibliography formats, etc.\n\nOptions\nWhen using natbib or biblatex you can specify the following additional options to affect how bibliographies are rendered:\n\n\n\nOption\nDescription\n\n\n\n\nbiblatexoptions\nList of options for biblatex\n\n\nnatbiboptions\nList of options for natbib\n\n\nbiblio-title\nTitle for bibliography\n\n\nbiblio-style\nStyle for bibliography\n\n\n\n\n\n\nRaw LaTeX\nWhen creating a PDF document, Pandoc allows the use of raw LaTeX directives intermixed with markdown. For example:\n\\begin{tabular}{|l|l|}\\hline\nAge & Frequency \\\\ \\hline\n18--25 & 15 \\\\\n26--35 & 33 \\\\\n36--45 & 22 \\\\ \\hline\n\\end{tabular}\nRaw LaTeX commands will be preserved and passed unchanged to the LaTeX writer.\n\n\n\n\n\n\nWarning\n\n\n\nWhile it’s very convenient to use raw LaTeX, raw LaTeX is ignored when rendering to other formats like HTML and MS Word. If you plan on rendering to other formats then the example above would be better written using native markdown tables.\n\n\nIn some cases raw LaTeX will require additional LaTeX packages. The LaTeX Includes section below describes how to include \\usepackage commands for these packages in your document.\n\n\nLaTeX Includes\nIf you want to include additional content in your document from another file, you can use the include-in-* options:\n\n\n\n\n\n\n\nOption\nDescription\n\n\n\n\ninclude-in-header\nInclude contents of file, verbatim, at the end of the header. This can be used, for example, to include special CSS or JavaScript in HTML documents or to inject commands into the LaTeX preamble.\n\n\ninclude-before-body\nInclude contents of file, verbatim, at the beginning of the document body (e.g. after the
tag in HTML, or the \\begin{document} command in LaTeX). This can be used to include navigation bars or banners in HTML documents.\n\n\ninclude-after-body\nInclude contents of file, verbatim, at the end of the document body (before the
tag in HTML, or the \\end{document} command in LaTeX).\n\n\n\nYou can specify a single file or multiple files for each of these options directly, or use the file: subkey. To include raw content in the YAML header, use the text subkey. When using text:, add the | character after text: to indicate that the value is a multi-line string. If you omit file: or text:, Quarto assumes you are providing a file.\nFor example:\nformat:\n pdf:\n include-in-header:\n - text: |\n \\usepackage{eplain}\n \\usepackage{easy-todo}\n - file: packages.tex\n - macros.tex \nAny packages specified using includes that you don’t already have installed locally will be installed by Quarto during the rendering of the document.\n\n\nLaTeX Output\nIf you want Quarto to produce a LaTeX file (.tex) rather than a PDF (for example, if you want to do your own processing of the PDF) there are two ways to accomplish this:\n\nUse the latex format rather than the pdf format. For example:\nformat:\n latex:\n documentclass: report\n classoption: [twocolumn, landscape]\n lof: true\n lot: true\nNote that all of the PDF format options documented above will also work for the latex format.\nUse the pdf format along with the keep-tex option. For example:\nformat:\n pdf:\n documentclass: report\n keep-tex: true\nThis technique will produce a PDF file for preview, but will also create a .tex file alongside it that you can do subsequent processing on.\n\n\n\nUnicode Characters\nBy default, Quarto uses the xelatex engine to produce PDFs from LaTeX. xelatex has native support for unicode characters, but it is possible some customization will be required in order to properly typeset specific unicode characters. In particular, it is important that you use a font that supports the characters that you using in your document. To identify fonts on your system that support specific language characters, you can use the following command:\n\n\nTerminal\n\nfc-list :lang=\n\nFor example, to see a list of fonts that support Japanese characters, use:\n\n\nTerminal\n\nfc-list :lang=ja\n\nSelect a font name from the list and use that as the document’s main font, like:\n---\ntitle: Unicode test\nformat: pdf\nmainfont: \"Hiragino Sans GB\"\n---\n\n## Test Document\n\n青黑體簡體中文,ヒラギノ角"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.703Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/pdf-basics.html\",\n \"source\": \"https://quarto.org/docs/output-formats/pdf-basics.html\"\n}"}}},{"rowIdx":115,"cells":{"page_content":{"kind":"string","value":"Overview\nWhile markdown is the input format for Quarto, it can also in some cases be an output format (for example, if you have a website or CMS that accepts markdown as input and want to incorporate computations from Python or R).\nThis article covers using Quarto to generate GitHub Flavored Markdown (GFM). You might want to do this in order to:\n\nGenerate a GitHub README.md from a Jupyter notebook\nCreate pages for a GitHub wiki that include computations (e.g. plot output).\n\n\n\nGFM Format\nUse the gfm format to create GitHub Flavored Markdown from Quarto. For example:\n---\ntitle: \"My Project\"\nformat: gfm\n---\nSee the GFM format reference for a complete list of all options available for GFM output.\nTo create a README.md using Quarto, start with a notebook (.ipynb) or computational markdown file (.qmd) that has README as its file name stem, for example:\n\n\nREADME.qmd\n\n---\ntitle: \"My Project\"\nformat: gfm\njupyter: python3\n---\n\nThis is a GitHub README that has content dynamically generated from Python:\n \n```{python}\n1 + 1\n```\n\nRender the README with:\n\n\nTerminal\n\nquarto render README.qmd\n\nWhich will create README.md alongside your input file.\n\n\nPreview Mode\nWhen you quarto preview a GitHub Flavored Markdown document, by default an HTML preview that approximates the look of markdown rendered on GitHub is shown. If you’d prefer to see the raw generated markdown, use the preview-mode: raw option. For example:\n---\ntitle: \"My Project\"\nformat: \n gfm:\n preview-mode: raw\n---\n\n\nWebTeX Math\nThe gfm format renders LaTeX equations using standard dollar-delimited inline ($...$) and display ($$...$$) syntax. However, if the web environment you are publishing into doesn’t support dollar-delimited math, you can alternatively use WebTeX to display math. This is done by setting the Pandoc html-math-method to webtex. For example:\nformat:\n gfm:\n html-math-method: webtex\nWebTeX works for any web page that can display images, and requires no special JavaScript or CSS. Any inline or display equations contained within your document will be converted to an image URL that requests a rendered version of the equation. For example, the following markdown:\n$x + 1$\nWill be converted to:\n\nWhich renders as:\n\n\nDark Mode\nSVG is used as the default rendering method because it has the best overall appearance. However, if your gfm document is being rendered on a dark background, you may want to switch to PNG with a dark background specified. You can do this as follows:\nformat:\n gfm:\n html-math-method: \n method: webtex\n url: https://latex.codecogs.com/png.image?%5Cbg_black&space;\n\n\n\nGitHub Wikis\nIf you want to use Quarto to incorporate computations into a GitHub wiki start by cloning the wiki for local editing.\nThen, simply create a computational markdown file (.ipynb, .qmd) for each page in the wiki. You can render all of these files at once into their corresponding .md files using Quarto Projects. For example:\n\n\nTerminal\n\nquarto render\n\nYou don’t even strictly need a Quarto project file to do this as quarto render will render all input files in a directory by default if there is no project file."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.675Z\",\n \"loc\": \"https://quarto.org/docs/output-formats/gfm.html\",\n \"source\": \"https://quarto.org/docs/output-formats/gfm.html\"\n}"}}},{"rowIdx":116,"cells":{"page_content":{"kind":"string","value":"_ Find your operating system in the table below\n\n\nYou can install Quarto for a single user on Linux by using the Quarto tarball and following the below set of steps.\n1. Download the tarball\n\n\nTerminal\n\nwget https://github.com/quarto-dev/quarto-cli/releases/download/v^version^/quarto-^version^-linux-amd64.tar.gz\n\n2. Extract Files\nExtract the contents of the tarball to the location where you typically install software (e.g. ~/opt). For example:\n\n\nTerminal\n\nmkdir ~/opt\ntar -C ~/opt -xvzf quarto-^version^-linux-amd64.tar.gz\n\n3. Create a Symlink\nCreate a symlink to bin/quarto in a folder that is in your path. If there is no such folder, you can create a folder such as ~/bin and place the symlink there. For example:\nFor example:\n\n\nTerminal\n\nmkdir ~/bin\nln -s ~/opt/quarto-^version^/bin/quarto ~/bin/quarto\n\n4. Add Folder to Path\nEnsure that the folder where you created a symlink is in the path. For example:\n\n\nTerminal\n\n( echo \"\"; echo 'export PATH=$PATH:~/bin\\n' ; echo \"\" ) >> ~/.profile\nsource ~/.profile\n\n5. Check The Installation\nUse quarto check to confirm that the installation is successful:\n\n\nTerminal\n\nquarto check"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.275Z\",\n \"loc\": \"https://quarto.org/docs/download/tarball.html\",\n \"source\": \"https://quarto.org/docs/download/tarball.html\"\n}"}}},{"rowIdx":117,"cells":{"page_content":{"kind":"string","value":"Current Release — vPre-release — vOlder Releases\n\n\n\n\n_ Find your operating system in the table below\n\n\n\n\n\n\nRelease Notes\n\n\n\n\n\n\n\n\n_ Find your operating system in the table below\n\n\n\n\n\n\nHighlights\nQuarto 1.4 includes the following new features:\n\nTypst Format—Support for the typst output format. Typst is a new open-source markup-based typesetting system that is designed to be as powerful as LaTeX while being much easier to learn and use.\nLua changes—Quarto v1.4 adds new features to writers of Lua filters.\n\n\n\nRelease Notes\n\n\n\n\n\n\nPages containing all installers for the most recent releases of older versions of Quarto are linked below.\n\n\n\n\n\nTitle\n\n\nDate\n\n\nUrl\n\n\n\n\n\n\nv1.2.475\n\n\nMar 22, 2023\n\n\nhttps://github.com/quarto-dev/quarto-cli/releases/tag/v1.2.475\n\n\n\n\nv1.1.189\n\n\nSep 4, 2022\n\n\nhttps://github.com/quarto-dev/quarto-cli/releases/tag/v1.1.189\n\n\n\n\nv1.0.38\n\n\nAug 4, 2022\n\n\nhttps://github.com/quarto-dev/quarto-cli/releases/tag/v1.0.38\n\n\n\n\n\nNo matching items"},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.275Z\",\n \"loc\": \"https://quarto.org/docs/download/index.html\",\n \"source\": \"https://quarto.org/docs/download/index.html\"\n}"}}},{"rowIdx":118,"cells":{"page_content":{"kind":"string","value":"In some cases you may want to create content that only displays for a given output format (or only displays when not rendering to a format). You can accomplish this by creating divs with the .content-visible and .content-hidden classes.\n\n.content-visible\nTo make content visible only for a given format, create a div (:::) with the .content-visible class. For example, here we mark content as only visible in HTML:\n::: {.content-visible when-format=\"html\"}\n\nWill only appear in HTML.\n\n:::\nYou can also mark content as visible for all formats except a specified format. For example:\n::: {.content-visible unless-format=\"pdf\"}\n\nWill not appear in PDF.\n\n:::\nThen when-format and unless-format attributes match the current Pandoc output format with some additional intelligence to alias related formats (e.g. html, html4, and html5). Details are provided below in Format Matching\n\n\n.content-hidden\nTo prevent content from being displayed when rendering to a given format, create a div (:::) with the .content-hidden class. For example, here we mark content as hidden in HTML:\n::: {.content-hidden when-format=\"html\"}\n\nWill not appear in HTML.\n\n:::\nYou can also mark content as hidden for all formats except a specified format. For example:\n::: {.content-hidden unless-format=\"pdf\"}\n\nWill only appear in PDF.\n\n:::\n\n\nFormat Matching\nThen when-format and unless-format clauses do some aliasing of related formats to make it more straightforward to target content. The following aliases are implemented:\n\n\n\nAlias\nFormats\n\n\n\n\nlatex\nlatex, pdf\n\n\npdf\nlatex, pdf\n\n\nepub\nepub*\n\n\nhtml\nhtml*, epub*, revealjs\n\n\nhtml:js\nhtml*, revealjs\n\n\nmarkdown\nmarkdown*, commonmark*, gfm, markua\n\n\n\nNote that the html:js alias indicates that the target format is capable of executing JavaScript (this maps to all HTML formats save for ePub)."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.139Z\",\n \"loc\": \"https://quarto.org/docs/authoring/conditional.html\",\n \"source\": \"https://quarto.org/docs/authoring/conditional.html\"\n}"}}},{"rowIdx":119,"cells":{"page_content":{"kind":"string","value":"Overview\nHTML pages rendered with Quarto include a formatted appendix at the end of the article. The appendix includes sections for citations and footnotes in the document, as well the attribution information (if specified) for the document itself.\nA simple example document appendix looks like:\n\nTo learn more about including document attribution information in the appendix, see Creating Citeable Articles.\n\n\nCustom Appendix Sections\nSections of your document can be added to the Appendix that appears at the end of your article by adding the .appendix class to any header. For example:\n## Acknowledgments {.appendix}\n\nI am grateful for the insightful comments offered by the anonymous peer reviewers at Books & Texts. The generosity and expertise of one and all have improved this study in innumerable ways and saved me from many errors; those that inevitably remain are entirely my own responsibility.\nAny sections marked with the .appendix class will be included at the front of the appendix in the order in which they appear in the document. A more complete example appendix including attribution and the above custom appendix section looks like:\n\n\n\nLicense\nIf you include a license in the front matter or citation information for your document, a ‘Reuse’ section will automatically be added to the appendix. Read more about specifying a license in Front Matter.\nHere is an example of a complete appendix including all the fields with an Attribution-ShareAlike Creative Commons license.\n\n\n\nAppendix Style\nYou can control how Quarto process the appendix of your document using the appendix-style option. There are three options available:\n\ndefault\n\nThe default appendix treatment create a smaller font face and gathers the various sections into stylized groups at the end of the document.\n\nplain\n\nThe plain treatment will do all the appendix processing (gathering and organizing the sections at the end of the document, creating sections like ‘Reuse’), but will not apply the default appendix styling.\n\nnone\n\nnone disables appendix processing altogether. Content will not be processed or organized and information like ‘Citation’ and ‘Reuse’ will not be included in the document."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.135Z\",\n \"loc\": \"https://quarto.org/docs/authoring/appendices.html\",\n \"source\": \"https://quarto.org/docs/authoring/appendices.html\"\n}"}}},{"rowIdx":120,"cells":{"page_content":{"kind":"string","value":"Reveal Presentation\nlibrary(tidyverse)\nlibrary(palmerpenguins)\n1penguins |>\n2 mutate(\n bill_ratio = bill_depth_mm / bill_length_mm,\n bill_area = bill_depth_mm * bill_length_mm\n )\n\n1\n\nTake penguins, and then,\n\n2\n\nadd new columns for the bill ratio and bill area."},"metadata":{"kind":"string","value":"{\n \"lastmod\": \"2023-07-05T19:35:15.139Z\",\n \"loc\": \"https://quarto.org/docs/authoring/code-annotation-example/revealjs.html\",\n \"source\": \"https://quarto.org/docs/authoring/code-annotation-example/revealjs.html\"\n}"}}},{"rowIdx":121,"cells":{"page_content":{"kind":"string","value":"Overview\nYou can embed videos in documents using the {{< video >}} shortcode. For example, here we embed a YouTube video:\n{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}\nVideos can refer to video files (e.g. .mp4) or can be links to videos published on YouTube, Vimeo, or BrightCove.\nHere are some additional examples that demonstrate using various video sources and options:\n{{< video local-video.mp4 >}}\n\n{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}\n\n{{< video https://vimeo.com/548291297 >}}\n\n{{< video https://youtu.be/wo9vZccmqwc width=\"400\" height=\"300\" >}}\n\n{{< video https://www.youtube.com/embed/wo9vZccmqwc\n title=\"What is the CERN?\"\n start=\"116\"\n aspect-ratio=\"21x9\" \n>}}\nIn HTML formats the video will be embedded within the document. For other formats, a simple link to the video will be rendered.\nNext, we’ll cover the various options available for video embedding. For additional details on using videos within Revealjs presentations (including how to create slides with full-screen video backgrounds), see the Revealjs section below.\n\n\nVideo URL\nThe video URL can specify either a path to a video file (e.g. a .mp4) alongside the document, a remote URL to a video file, or a URL to a video service (YouTube, Vimeo, or BrightCove).\nThese are valid URLs for video files:\n{{< video local-video.mp4 >}}\n{{< video https://videos.example.com/video.mp4 >}}\nFor video services, a variety of URL forms are supported. For example, the following video service URLs are all valid:\n{{< video https://youtu.be/wo9vZccmqwc >}}\n{{< video https://www.youtube.com/watch?v=wo9vZccmqwc >}}\n{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}\n{{< video https://vimeo.com/548291297 >}}\n{{< video https://players.brightcove.net/1460825906/default_default/index.html?videoId=5988531335001 >}}\nNote that YouTube videos support both the URL that is available in the address bar when watching a video as well as the standard URLs used for linking and embedding. BrightCove videos are embedded using the standard iframe embed code.\n\n\nOptions\n\nAspect Ratio\nVideos are automatically rendered responsively using the full width of the document’s main text column. The aspect-ratio specifies how the height should vary with changes in width. For example:\n{{< video https://youtu.be/wo9vZccmqwc aspect-ratio=\"4x3\" >}}\nAvailable aspect ratios include 1x1, 4x3, 16x9 (the default), and 21x9.\n\nWidth and Height\nYou can disable responsive sizing by providing explicit width and height attributes. For example:\n{{< video https://youtu.be/wo9vZccmqwc width=\"250\" height=\"175\" >}}\nThis will produce a video that redners at the specified dimensions and is not responsive. Note that when no height or width are specified, videos will size responsively given the space available to them.\n\n\n\nStart Time\nFor YouTube videos, you can specify a start option to indicate how many seconds into the video you want to start playing:\n{{< video https://youtu.be/wo9vZccmqwc start=\"10\" >}}\n\n\nFrame Title\nThe title option adds a title attribute to the video