About slash commands - GitHub Docs
Skip to main content

About slash commands

Slash commands can save you time by reducing the typing required to create complex Markdown.

Note

Slash commands are currently in public preview 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.

CommandDescription
/codeInserts a Markdown code block. You choose the language.
/detailsInserts a collapsible detail area. You choose the title and content.
/saved-repliesInserts a saved reply. You choose from the saved replies for your user account. If you add %cursor% to your saved reply, the slash command will place the cursor in that location.
/tableInserts a Markdown table. You choose the number of columns and rows.
/templateShows 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.

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.