Skip to content

Commit f2f929a

Browse files
committed
More Positron specific screenshots
1 parent 25a1dc3 commit f2f929a

32 files changed

+30
-9
lines changed

docs/tools/_code-oss-visual-editor.md

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,49 @@
11
## Overview
22

3-
The [Quarto VS Code Extension](https://marketplace.visualstudio.com/items?itemName=quarto.quarto) includes a visual markdown editor that supports all of Quarto's markdown syntax including tables, citations, cross-references, footnotes, divs/spans, definition lists, attributes, raw HTML/TeX, and more:
3+
The [Quarto VS Code Extension](https://open-vsx.org/extension/quarto/quarto) includes a visual markdown editor that supports all of Quarto's markdown syntax including tables, citations, cross-references, footnotes, divs/spans, definition lists, attributes, raw HTML/TeX, and more:
4+
5+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor.png){.border .light-content fig-alt='{{< meta tool.name >}} with a document called `libraries.qmd` open in visual editing mode. The subtitle and list of items are typeset. The visual editing toolbar is visible at the top of the document.' }
6+
7+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-dark.png){.border .dark-content fig-alt='Positron with a document called `libraries.qmd` open in visual editing mode. The subtitle and list of items are typeset. The visual editing toolbar is visible at the top of the document.' }
48

5-
![](/docs/visual-editor/images/vscode-visual-editor.png){.border width="609"}
69

710
You can switch between visual and source mode at any time and can even edit documents concurrently in both modes. To switch between visual and source mode:
811

912
1. Use the <kbd>⇧⌘ F4</kbd> keyboard shortcut.
1013

1114
2. Use the context menu from anywhere in a document:
1215

13-
![](/docs/visual-editor/images/vscode-visual-editor-context-menu.png){.border width="609"}
16+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-context-menu.png){.border .light-content fig-alt='The context menu in with the Edit in Visual Mode command highlighted.' width="609"}
17+
18+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-context-menu-dark.png){.border .dark-content fig-alt='The context menu in with the Edit in Visual Mode command highlighted.' width="609"}
1419

1520
3. Use the **Edit in Visual Mode** and **Edit in Source Mode** commands:
1621

17-
![](/docs/visual-editor/images/vscode-visual-mode-command.png){.border width="609"}
22+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-mode-command.png){.border .light-content fig-alt='The command palette with the Edit in Visual Mode command highlighted.' width="609"}
23+
24+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-mode-command-dark.png){.border .dark-content fig-alt='The command palette with the Edit in Visual Mode command highlighted.' width="609"}
1825

1926
4. Use the editor menu:
2027

21-
![](/docs/visual-editor/images/vscode-visual-mode-menu.png){.border width="609"}
28+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-mode-menu.png){.border .light-content width="609" fig-alt='The editor menu with the Edit in Visual Mode command highlighted.'}
29+
30+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-mode-menu-dark.png){.border .dark-content width="609" fig-alt='The editor menu with the Edit in Visual Mode command highlighted.'}
31+
32+
33+
:::{.content-hidden unless-meta="tool.is_positron"}
34+
5. Using the **Source**/**Visual** buttons in the toolbar:
35+
36+
![](/docs/tools/images/positron-visual-editor-toolbar-toggle.png){.border .light-content fig-alt="The toolbar in Positron with the Source and Visual buttons highlighted." width="609"}
37+
38+
![](/docs/tools/images/positron-visual-editor-toolbar-toggle-dark.png){.border .dark-content fig-alt="The toolbar in Positron with the Source and Visual buttons highlighted." width="609"}
39+
:::
2240

2341
You can also right click a `.qmd` document in the file explorer and select the **Open With...** command, which will prompt you for the editor to open the file with:
2442

25-
![](/docs/visual-editor/images/vscode-visual-editor-default-mode.png){.border width="609"}
43+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-default-mode.png){.border .light-content width="609"}
44+
45+
46+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-default-mode-dark.png){.border .dark-content width="609"}
2647

2748
Note that this menu also provides an option to configure the default editor for `.qmd` files: use this if you want to primarily edit in visual mode and occasionally switch to source mode.
2849

@@ -88,19 +109,19 @@ If you are at the beginning of a line (as displayed above), you can also enter p
88109

89110
The editor toolbar includes buttons for the most commonly used formatting commands:
90111

91-
![](/docs/visual-editor/images/vscode-visual-editor-toolbar.png){.border width="609"}
112+
![](/docs/tools/images/{{< meta tool.prefix >}}-visual-editor-toolbar.png){.border width="609"}
92113

93114
Additional commands are available on the **Format**, **Insert**, and **Table** menus:
94115

95116
| Format | Insert | Table |
96117
|------------------------|------------------------|------------------------|
97-
| ![](/docs/visual-editor/images/vscode-visual-editor-format-menu.png){.border fig-alt="The contents of the Format drop down menu."} | ![](/docs/visual-editor/images/vscode-visual-editor-insert-menu.png){.border fig-alt="The contents of the Insert drop down menu."} | ![](/docs/visual-editor/images/vscode-visual-editor-table-menu.png){.border fig-alt="The contents of the Table drop down menu."} |
118+
| ![](/docs/tools/images/vscode-visual-editor-format-menu.png){.border fig-alt="The contents of the Format drop down menu."} | ![](/docs/tools/images/vscode-visual-editor-insert-menu.png){.border fig-alt="The contents of the Insert drop down menu."} | ![](/docs/tools/images/vscode-visual-editor-table-menu.png){.border fig-alt="The contents of the Table drop down menu."} |
98119

99120
## Editor Options
100121

101122
There are a variety of {{< meta tool.name >}} options available to configure the behavior of the visual editor. You can locate these options by filtering on `quarto.visualEditor` in the settings pane:
102123

103-
![](/docs/visual-editor/images/vscode-visual-editor-options.png){.border width="609"}
124+
![](/docs/tools/images/vscode-visual-editor-options.png){.border width="609"}
104125

105126
Options enable configuration of appearance (font size, content width, etc.), markdown output (e.g. column wrapping), spell checking, and default spacing for lists.
106127

323 KB
Loading
324 KB
Loading
166 KB
Loading
40.2 KB
Loading
41.3 KB
Loading
39.4 KB
Loading
38.5 KB
Loading
38.1 KB
Loading
40.2 KB
Loading

0 commit comments

Comments
 (0)