> For the complete documentation index, see [llms.txt](https://inttter.gitbook.io/notetxt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inttter.gitbook.io/notetxt/main/slash-commands.md).

# Slash Commands

Slash commands are a feature in Notetxt which allow you to insert **predefined Markdown syntax or content** into a note.

Slash commands begin with a `/`, followed by the name of the command.

{% hint style="info" %}
Slash commands can only be used at the start of a new line that has no text on it.
{% endhint %}

The full list of slash commands, a short description of them, and their aliases are shown in the table below:

<table><thead><tr><th width="246">Command</th><th>Description</th><th>Aliases</th></tr></thead><tbody><tr><td><code>table</code></td><td>Creates a table with two rows and columns.</td><td><code>tb</code></td></tr><tr><td><code>list</code></td><td>Creates a list with dashes.</td><td><code>dashedlist</code>, <code>dlist</code></td></tr><tr><td><code>numberedlist</code></td><td>Creates a list with numbers.</td><td><code>numlist</code>, <code>nlist</code></td></tr><tr><td><code>bulletList</code></td><td>Creates a list with bullet points.</td><td><code>blist</code></td></tr><tr><td><code>task</code></td><td>Creates a checkable task box to track a task's progress.</td><td><code>todo</code></td></tr><tr><td><code>code</code></td><td>Inserts a code block for snippets of code.</td><td><code>snippet</code></td></tr><tr><td><code>quote</code></td><td>Inserts a blockquote for displaying quotes.</td><td><code>blockquote</code></td></tr><tr><td><code>image</code></td><td>Inserts an image with alt text and a placeholder for a URL.</td><td><code>img</code>, <code>picture</code></td></tr><tr><td><code>video</code></td><td>Inserts a video with controls and a placeholder for a URL.</td><td><code>vd</code></td></tr><tr><td><code>link</code></td><td>Creates a link with text and a placeholder for a URL.</td><td><code>url</code></td></tr><tr><td><code>line</code></td><td>Inserts a horizontal line to separate content.</td><td><code>horizontal</code>, <code>hr</code>, <code>separator</code>, <code>section</code>, <code>divider</code></td></tr><tr><td><code>footnote</code></td><td>Adds a footnote for adding references to content.</td><td><code>fn</code>, <code>reference</code></td></tr><tr><td><code>metadata</code></td><td>Adds some sample hidden YAML metadata.</td><td><code>mdata</code>, <code>yaml</code></td></tr><tr><td><code>toc</code></td><td>Generates a Table Of Contents based on the headers within the note.</td><td><code>contents</code></td></tr><tr><td><code>date</code></td><td>Adds the current date.</td><td><code>day</code></td></tr><tr><td><code>spoiler</code></td><td>Inserts a spoiler box that reveals content when clicked.</td><td><code>secret</code></td></tr></tbody></table>
