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.
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.
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 menyediakan dukungan elemen-elemen Markdown berikut ini.
Elemen Dokumen | Dukungan | Catatan |
---|---|---|
Judul | Ya | |
Paragraf | Ya | |
Ganti Baris | Ya | |
Tulisan Tebal | Ya | |
Tulisan Miring | Ya | |
Kutipan | Ya | |
Daftar Bernomor | Ya | Lists must start with the number 1. You can use parens as the ending punctuation (i.e., 1) instead of 1. ).
|
Daftar Tanpa Nomor | Sebagian | Cannot use plus signs (+ ).
|
Kode/Perintah | Ya | |
Garis Mendatar | Ya | |
Tautan (Rujukan) | Ya | Links can contain spaces. |
Gambar | Tidak | Images are only supported in the rich text editor. |
Tabel | Ya | |
Blok Kode/Program | Ya | |
Penyorotan Sintaks | Tidak | |
Catatan Kaki | Tidak | |
Nama (ID) Judul | Sebagian | Automatically generated. There’s no way to set custom heading IDs. |
Daftar Istilah | Tidak | |
Tulisan Dicoret | Ya | |
Daftar Tugas | Tidak | |
Emoji/Ikon emosi (salin dan tempel) | Tidak diketahui | |
Emoji/Ikon emosi (kode) | Tidak diketahui | |
Tautan/Rujukan URL Otomatis | Ya | |
Menon-aktifkan Tautan/Rujukan URL | Ya | |
Perintah/tag HTML | Tidak |
As an added bonus, Reddit provides support for several obscure elements.
Element | Markdown | Rendered Output |
---|---|---|
Spoilers | This text will be hidden: >!spoilers!< |
|
Superscript | The greatest thing you'll ever learn is just to ^reddit and be ^(reddited here) in return. |
The greatest thing you'll ever learn is just to reddit and be reddited here in return. |
Pelajari Markdown dalam 60 halaman. Dirancang untuk pemula dan ahli, buku Panduan Markdown ini adalah referensi komprehensif yang memiliki semua yang Anda butuhkan untuk memulai dan menguasai sintaks Markdown.
Dapatkan buku tersebutJangan berhenti! 😎 Beri tanda bintang situs repositori GitHub, daftarkan alamat e-mail Anda untuk menerima tutorial Markdown yang baru melalui e-mail. Bebas spam!