Note: Slash commands are currently in public beta and subject to change.
About slash commands
Slash commands make it easier to type more complex Markdown, such as tables, tasklists, and code blocks.
You can use slash commands in any description or comment field in issues, pull requests, or discussions where that slash command is supported.
Using slash commands
You can use slash commands by typing the command in a comment field, then following the prompts. To insert complex Markdown into your comment, type one of the following commands.
|Inserts a Markdown code block. You choose the language.|
|Inserts a collapsible detail area. You choose the title and content.|
|Inserts a saved reply. You choose from the saved replies for your user account. If you add |
|Inserts a Markdown table. You choose the number of columns and rows.|
|Inserts a Tasklist. This slash command only works in an issue description. |
Note: Tasklists are currently in private beta and may not be available to all users. For more information, see "About Tasklists."
|Shows all of the templates in the repository. You choose the template to insert. This slash command will work for issue templates and a pull request template.|