2 title = "Markdown Editor"
3 description = "Details on using the markdown editor in BookStack"
8 If you prefer to write in a simpler format, a Markdown editor is available in BookStack. Markdown compatibility generally follows that of [CommonMark](https://commonmark.org/), along with a few extensions including tables and task-lists.
9 This is an alternative to the default [WYSIWYG Editor](/docs/user/wysiwyg-editor/).
12 ### Switching to the Markdown Editor
14 The default editor option, for when creating a new page, can be configured by an admin within the "Settings > Customization" area of BookStack.
16 You can change to the markdown editor at a page-level while within the page editor.
17 Simply click the draft status, located above the page name input, and you'll be presented a drop-down with options which include those to change the editor. If you don't see these options, you may not have the relevant "Change page editor" system permission on one of your assigned system roles.
19 
21 For switching to Markdown, from the WYSIWYG editor, you'll see a couple of options:
23 - **Clean Content** - This is a system-cleaned markdown output, which is much nicer but has potential for formatting loss and potential functionality breaks (Things depending on HTML attributes/IDs for example).
24 - **Stable Content** - This retains existing HTML content in Markdown to avoid any potential functionality breakages or loss of formatting.
26 When you choose either option, there is risk of losing certain content details or formatting. BookStack will warn you of this when switching.
30 The following shortcuts are available in the Markdown Editor:
35 <th>Shortcut (Windows & Linux/Mac)</th>
41 <td><code>Ctrl+S</code> / <code>Cmd+S</code></td>
45 <td><code>Ctrl+Enter</code> / <code>Cmd+Enter</code></td>
46 <td>Save Page & Continue</td>
50 <code>Ctrl+1</code> / <code>Cmd+1</code> <br>
51 <code>Ctrl+2</code> / <code>Cmd+2</code> <br>
52 <code>Ctrl+3</code> / <code>Cmd+3</code> <br>
53 <code>Ctrl+4</code> / <code>Cmd+4</code>
57 Header Medium (h3)<br>
63 <td><code>Ctrl+5</code> / <code>Cmd+5</code><br><code>Ctrl+D</code> / <code>Cmd+D</code></td>
64 <td>Normal Paragraph</td>
67 <td><code>Ctrl+6</code> / <code>Cmd+6</code><br><code>Ctrl+Q</code> / <code>Cmd+Q</code></td>
71 <td><code>Ctrl+7</code> / <code>Cmd+7</code><br><code>Ctrl+E</code> / <code>Cmd+E</code></td>
75 <td><code>Ctrl+8</code> / <code>Cmd+8</code><br><code>Ctrl+Shift+E</code> / <code>Cmd+Shift+E</code></td>
79 <td><code>Ctrl+9</code> / <code>Cmd+9</code></td>
80 <td>Callout <br> <small><em>(Keep pressing to toggle through styles)</em></small></td>
84 <code>Ctrl+O</code> / <code>Cmd+O</code> <br>
85 <code>Ctrl+P</code> / <code>Cmd+P</code>
87 <td>Ordered List <br> Bullet List</td>
90 <td><code>Ctrl+K</code> / <code>Cmd+K</code></td>
94 <td><code>Ctrl+Shift+K</code> / <code>Cmd+Shift+K</code></td>
95 <td>Link to BookStack content</td>
98 <td><code>Ctrl+Shift+I</code> / <code>Cmd+Shift+I</code></td>
99 <td>Insert Image via URL</td>