Cheat sheet

This page lists every command and keyboard shortcut provided by the extension.

All commands are available from the command palette (Ctrl+Shift+P or F1, Mac: Cmd+Shift+P) by typing their name.

The Web column tells you whether an action is available in VS Code for the Web: ✔️ supported, ⛔ desktop only.

Editing

Command Windows/Linux Mac Web

AsciiDoc: Toggle Bold

Ctrl+B

Cmd+B

✔️

AsciiDoc: Toggle Italic

Ctrl+I

Cmd+I

✔️

AsciiDoc: Toggle Monospace

Ctrl+M

Cmd+M

✔️

AsciiDoc: Paste Image

Ctrl+Alt+V

Option+Cmd+V

On VS Code for the Web you can still paste an image with the standard Ctrl+V (Mac: Cmd+V) inside the editor. See Paste an image.

Reference

Command Windows/Linux Mac Web

AsciiDoc: Open AsciiDoc Cheat Sheet

 — 

 — 

✔️

Opens a built-in AsciiDoc language syntax reference — the most common elements, blocks, macros and attributes at a glance — as a locked preview to the side. Unlike the other commands, it is available from the command palette even when no AsciiDoc file is open, so you can pull up the syntax at any time.

Preview

Command Windows/Linux Mac Web

AsciiDoc: Open Preview

Ctrl+Shift+V

Cmd+Shift+V

✔️

AsciiDoc: Open Preview to the Side

Ctrl+K V

Cmd+K V

✔️

AsciiDoc: Open Locked Preview to the Side

 — 

 — 

✔️

AsciiDoc: Show Source

 — 

 — 

✔️

AsciiDoc: Refresh Preview

 — 

 — 

✔️

AsciiDoc: Toggle Preview Locking

 — 

 — 

✔️

AsciiDoc: Manage Preview Security Settings

 — 

 — 

✔️

AsciiDoc: Manage Asciidoctor.js Extensions Trust Mode

 — 

 — 

✔️

See Preview for details.

Export and save

Command Windows/Linux Mac Web

AsciiDoc: Export Document as PDF

 — 

 — 

AsciiDoc: Save HTML Document

Ctrl+Alt+S

Option+Cmd+S

AsciiDoc: Save to DocBook

 — 

 — 

Antora

Command Windows/Linux Mac Web

AsciiDoc: Enable Antora support in this workspace

 — 

 — 

✔️

AsciiDoc: Disable Antora support in this workspace

 — 

 — 

✔️

See Antora support for details.

Any shortcut can be changed from File  Preferences  Keyboard Shortcuts (Mac: Code  Settings  Keyboard Shortcuts). Search for the command name to rebind it.