Skip to content

Commit 22558fa

Browse files
committed
more desktop user guide
1 parent 76559ac commit 22558fa

File tree

5 files changed

+37
-1
lines changed

5 files changed

+37
-1
lines changed

docs/desktop-guide.html

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
1. Open **Observable Desktop**, then click **Open browser**.
5252
1. If needed, **sign in** to your Observable account, or **create an account**.
53-
1. Under **Authorize your device**, click **Continue**, then **Authorize**.
53+
1. Click **Authorize the desktop app**.
5454
1. Close the **Success** window to return to Observable Desktop.
5555
1. Wait a few seconds for Observable Desktop to sign in.
5656
</script>
@@ -170,6 +170,42 @@
170170
3. Delete the cell with <span class="sans">**D**</span>.
171171
4. Clear the selection with <span class="sans">**esc ⎋**</span>.
172172
</script>
173+
<script id="35" type="text/markdown">
174+
---
175+
176+
## Cell modes
177+
178+
Cells can be written in JavaScript, Markdown, HTML, and several other languages. You can cycle between the primary modes when a cell is empty, or use the mode menu or edit menu to change the mode.
179+
</script>
180+
<script id="37" type="text/markdown">
181+
<figure>
182+
<img src="./videos/mode-empty.webp" loading="lazy">
183+
<figcaption>Changing the mode of an empty cell</figcaption>
184+
</figure>
185+
186+
1. Insert a new, empty cell.
187+
2. Change the cell mode with <span class="sans">**down ↓**</span> or <span class="sans">**up ↑**</span>.
188+
</script>
189+
<script id="38" type="text/markdown">
190+
<figure>
191+
<img src="./videos/mode-keyboard.webp" loading="lazy">
192+
<figcaption>Changing the mode via keyboard shortcuts</figcaption>
193+
</figure>
194+
195+
1. Focus a cell, say by clicking on the editor.
196+
2. Change the cell mode to JavaScript with <span class="sans">**command-1 ⌘1**</span>.
197+
2. Change the cell mode to Markdown with <span class="sans">**command-2 ⌘2**</span>.
198+
2. Change the cell mode to HTML with <span class="sans">**command-3 ⌘3**</span>.
199+
</script>
200+
<script id="39" type="text/markdown">
201+
<figure>
202+
<img src="./videos/mode-menu.webp" loading="lazy">
203+
<figcaption>Changing the mode via the mode menu</figcaption>
204+
</figure>
205+
206+
1. Focus a cell, say by clicking on the editor.
207+
2. Change the cell mode using the **mode menu**.
208+
</script>
173209
<script id="30" type="text/markdown">
174210
---
175211

docs/videos/mode-empty.webp

69.8 KB
Loading

docs/videos/mode-keyboard.webp

66.2 KB
Loading

docs/videos/mode-menu.webp

121 KB
Loading

docs/videos/sign-in.webp

-148 KB
Loading

0 commit comments

Comments
 (0)