With Markdown, Reddit text formatting is a breeze. All Reddit users have the option of writing comments and posts in Markdown. The popular news website has developed its own Markdown processor called “snoomark” which is based on GitHub-Flavored Markdown. Some have started referring to this as “Reddit-flavored Markdown.” For a deep dive into Reddit’s Markdown support, see this wiki article.

Enabling Markdown Support

By default, Reddit disables Markdown support for new posts and comments. You can switch from the rich text editor to Markdown by clicking the Switch to markdown link, as shown below.

Switching to Markdown on Reddit.com

To permanently save this setting, you can enable the Default to Markdown setting in User Settings > Feed Settings. Enabling that setting will automatically enable Markdown for new posts or comments.

Reddit Markdown 支持

Reddit provides support for the following Markdown elements.

Element Support Notes
标题 支持
段落 支持
换行符 支持
粗体 支持
斜体 支持
块引用 支持
有序列表 支持 Lists must start with the number 1. You can use parens as the ending punctuation (i.e., 1) instead of 1.).
无序列表 部分支持 Cannot use plus signs (+).
代码块 支持
水平分隔符 支持
链接 支持 Links can contain spaces.
图片 不支持 Images are only supported in the rich text editor.
表格 支持
围栏代码块 支持
语法高亮 不支持
脚注 不支持
标题 ID 部分支持 Automatically generated. There’s no way to set custom heading IDs.
定义列表 不支持
删除线 支持
任务列表 不支持
Emoji (复制和粘贴) 未知
Emoji (简码) 未知
强调 不支持
下标 不支持
上标 支持
Automatic URL Linking 支持
Disabling Automatic URL Linking 支持
HTML 不支持

Support for Additional Syntax Elements

As an added bonus, Reddit provides support for several obscure elements.

Element Markdown 渲染输出
Spoilers This text will be hidden: >!spoilers!<

另请参阅

想了解更多 Markdown 技巧?

现在不要停下来!在下面输入你的电子邮件地址,以通过电子邮件接收新的 Markdown 教程。我们不会发送垃圾邮件!