# New codeblock shortcut

DevFeed: [New codeblock shortcut](<https://devfeed.tech/articles/new-codeblock-shortcut-74485.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2021-04-09-new-codeblock-shortcut>)

Author: phanatic

Published: 2021-04-09T21:10:31Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [GitHub](<https://devfeed.tech/topics/github.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>)

Tags: [files](<https://devfeed.tech/tags/files.md>), [github](<https://devfeed.tech/tags/github.md>), [insert](<https://devfeed.tech/tags/insert.md>), [mac](<https://devfeed.tech/tags/mac.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [markdown-files](<https://devfeed.tech/tags/markdown-files.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

GitHub supports `cmd-e` on Mac and `ctrl-e` on Windows to insert code blocks in Markdown files, issues, pull requests, and comments.

## Source excerpt

GitHub now supports new shortcut cmd-e on Mac or ctrl-e on Windows to insert codeblocks in Markdown files, issues/pull requests, and comments.