Path: blob/main/src/resources/schema/document-editor.yml
12925 views
- name: editor1schema:2anyOf:3- enum: [source, visual]4- object:5hidden: true # don't complete through a single-key object6properties:7mode:8enum: [source, visual]9description: "Default editing mode for document"10markdown:11object:12properties:13wrap:14anyOf:15- enum: [sentence, none]16- number17description: "A column number (e.g. 72), `sentence`, or `none`"18canonical:19boolean:20description: "Write standard visual editor markdown from source mode."21references:22object:23properties:24location:25schema:26enum: [block, section, document]27description: "Location to write references (`block`, `section`, or `document`)"28links:29boolean:30description: "Write markdown links as references rather than inline."31prefix:32string:33description: "Unique prefix for references (`none` to prevent automatic prefixes)"34description: "Reference writing options for visual editor"35description: "Markdown writing options for visual editor"36render-on-save:37tags:38engine: [jupyter]39schema: boolean40description: |41Automatically re-render for preview whenever document is saved (note that this requires a preview42for the saved document be already running). This option currently works only within VS Code.43description: Visual editor configuration4445- name: editor_options46schema:47object:48properties:49chunk_output_type:50enum: [inline, console]51description: "Determines where chunk output is shown in the editor."52description:53short: "Editor-specific options (used by RStudio and Positron)."54long: |55Editor-specific options that control IDE behavior for this document.56These options are used by RStudio and Positron to configure57per-document editor settings.5859- name: zotero60schema:61anyOf:62- boolean63- maybeArrayOf: string64description: |65Enable (`true`) or disable (`false`) Zotero for a document. Alternatively, provide a list of one or66more Zotero group libraries to use with the document.676869