Path: blob/main/src/resources/schema/document-links.yml
12921 views
- name: link-external-icon1tags:2formats: [$html-doc, revealjs]3schema: boolean4description: "Show a special icon next to links that leave the current site."56- name: link-external-newwindow7tags:8formats: [$html-doc, revealjs]9schema: boolean10description: "Open external links in a new browser window or tab (rather than navigating the current tab)."1112- name: link-external-filter13tags:14formats: [$html-doc, revealjs]15schema: string16description:17short: "A regular expression that can be used to determine whether a link is an internal link."18long: |19A regular expression that can be used to determine whether a link is an internal link. For example,20the following will treat links that start with `http://www.quarto.org/custom` or `https://www.quarto.org/custom`21as internal links (and others will be considered external):2223```24^(?:http:|https:)\/\/www\.quarto\.org\/custom25```2627- name: format-links28tags:29formats: [$html-doc]30schema:31anyOf:32- boolean33- maybeArrayOf:34anyOf:35- string36- object:37properties:38text:39string:40description: "The title for the link."41href:42string:43description: "The href for the link."44icon:45string:46description: "The icon for the link."47required: [text, href]48- object:49properties:50format:51string:52description: "The format that this link represents."53text:54string:55description: "The title for this link."56icon:57string:58description: "The icon for this link."59required: [text, format]6061description:62short: "Controls whether links to other rendered formats are displayed in HTML output."63long: |64Controls whether links to other rendered formats are displayed in HTML output.6566Pass `false` to disable the display of format lengths or pass a list of format names for which you'd67like links to be shown.6869- name: notebook-links70tags:71formats: [$html-doc]72schema:73anyOf:74- boolean75- enum: [inline, global]76description:77short: "Controls the display of links to notebooks that provided embedded content or are created from documents."78long: |79Controls the display of links to notebooks that provided embedded content or are created from documents.8081Specify `false` to disable linking to source Notebooks. Specify `inline` to show links to source notebooks beneath the content they provide.82Specify `global` to show a set of global links to source notebooks.8384- name: other-links85tags:86formats: [$html-doc]87schema:88anyOf:89- enum: [false]90- ref: other-links91description: "A list of links that should be displayed below the table of contents in an `Other Links` section."9293- name: code-links94tags:95formats: [$html-doc]96schema:97anyOf:98- enum: [false]99- ref: code-links-schema100description: "A list of links that should be displayed below the table of contents in an `Code Links` section."101102- name: notebook-subarticles103tags:104formats: [$jats-all]105schema: boolean106description:107short: "Controls whether referenced notebooks are embedded in JATS output as subarticles."108long: |109Controls the display of links to notebooks that provided embedded content or are created from documents.110111Defaults to `true` - specify `false` to disable embedding Notebook as subarticles with the JATS output.112113- name: notebook-view114tags:115formats: [$html-doc]116schema:117anyOf:118- boolean119- maybeArrayOf:120anyOf:121- string122- ref: notebook-view-schema123description: "Configures the HTML viewer for notebooks that provide embedded content."124125- name: notebook-view-style126tags:127formats: [$html-doc]128schema:129enum: [document, notebook]130hidden: true131description: "The style of document to render. Setting this to `notebook` will create additional notebook style affordances."132133- name: notebook-preview-options134tags:135formats: [$html-doc]136schema:137object:138properties:139back:140boolean:141description: "Whether to show a back button in the notebook preview."142description: "Options for controlling the display and behavior of Notebook previews."143144- name: canonical-url145tags:146formats: [$html-doc]147schema:148anyOf:149- boolean150- string151description:152short: "Include a canonical link tag in website pages"153long: |154Include a canonical link tag in website pages. You may pass either `true` to155automatically generate a canonical link, or pass a canonical url that you'd like156to have placed in the `href` attribute of the tag.157158Canonical links can only be generated for websites with a known `site-url`.159160161