Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/schema/document-editor.yml
12921 views
1
- name: editor
2
schema:
3
anyOf:
4
- enum: [source, visual]
5
- object:
6
hidden: true # don't complete through a single-key object
7
properties:
8
mode:
9
enum: [source, visual]
10
description: "Default editing mode for document"
11
markdown:
12
object:
13
properties:
14
wrap:
15
anyOf:
16
- enum: [sentence, none]
17
- number
18
description: "A column number (e.g. 72), `sentence`, or `none`"
19
canonical:
20
boolean:
21
description: "Write standard visual editor markdown from source mode."
22
references:
23
object:
24
properties:
25
location:
26
schema:
27
enum: [block, section, document]
28
description: "Location to write references (`block`, `section`, or `document`)"
29
links:
30
boolean:
31
description: "Write markdown links as references rather than inline."
32
prefix:
33
string:
34
description: "Unique prefix for references (`none` to prevent automatic prefixes)"
35
description: "Reference writing options for visual editor"
36
description: "Markdown writing options for visual editor"
37
render-on-save:
38
tags:
39
engine: [jupyter]
40
schema: boolean
41
description: |
42
Automatically re-render for preview whenever document is saved (note that this requires a preview
43
for the saved document be already running). This option currently works only within VS Code.
44
description: Visual editor configuration
45
46
- name: editor_options
47
schema:
48
object:
49
properties:
50
chunk_output_type:
51
enum: [inline, console]
52
description: "Determines where chunk output is shown in the editor."
53
description:
54
short: "Editor-specific options (used by RStudio and Positron)."
55
long: |
56
Editor-specific options that control IDE behavior for this document.
57
These options are used by RStudio and Positron to configure
58
per-document editor settings.
59
60
- name: zotero
61
schema:
62
anyOf:
63
- boolean
64
- maybeArrayOf: string
65
description: |
66
Enable (`true`) or disable (`false`) Zotero for a document. Alternatively, provide a list of one or
67
more Zotero group libraries to use with the document.
68
69