{"id":2436,"date":"2021-09-28T17:28:36","date_gmt":"2021-09-28T17:28:36","guid":{"rendered":"https:\/\/dft.wiki\/?p=2436"},"modified":"2026-06-08T22:28:17","modified_gmt":"2026-06-09T02:28:17","slug":"markdown-cheat-sheet","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=2436","title":{"rendered":"Markdown Cheat Sheet"},"content":{"rendered":"<p>Markdown is a lightweight markup language for creating formatted text using a plain-text editor.<\/p>\n<p>It is recommended to use a tool such as Visual Studio Code [<a href=\"https:\/\/code.visualstudio.com\/download\">Link<\/a>] with the extension Auto-Open Markdown Preview [<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=hnw.vscode-auto-open-markdown-preview\">Link<\/a>] or an online editor like StackEdit [<a href=\"https:\/\/stackedit.io\/\">Link<\/a>].<\/p>\n<p>GitHub has its own flavor of Markdown with a few extra features.<\/p>\n<div>\n<pre>&lt;!-- Comments that will not show up in the view --&gt;<\/pre>\n<pre># Biggest header<\/pre>\n<pre>## Second largest header\r\n### Medium header\r\n#### Medium header\r\n##### Second smallest header\r\n###### Smallest header<\/pre>\n<pre>*italic*\r\n_italic_\r\n**bold**\r\n__bold__\r\n***italic and bold***\r\n~~strikethrough~~<\/pre>\n<pre>---\r\n___\r\n***<\/pre>\n<pre>\\*escape character\\*<\/pre>\n<pre>&gt; block quote<\/pre>\n<pre>[link caption](http:\/\/...\/ \"title\")<\/pre>\n<pre>* topic\r\n    * sub-topic<\/pre>\n<pre>1. list item one\r\n2. list item two<\/pre>\n<pre>`inline code`<\/pre>\n<pre>![image name](http:\/\/...\/ \"title\")<\/pre>\n<pre>```\r\ncode block (GitHub)\r\n````<\/pre>\n<pre>```javascript\r\nvarName = \"string\";\r\n```<\/pre>\n<pre>| table column one | table column two |\r\n| - | - |\r\n| row one col one | row one col two |\r\n| row two col one | row two col two |<\/pre>\n<pre>* [ ] unchecked task\r\n* [x] checked task<\/pre>\n<pre>line break\\<\/pre>\n<pre>Here is a sentence with a footnote. [^1]\r\n\r\n[^1]: This is the footnote.<\/pre>\n<pre>term\r\n: definition<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Markdown is a lightweight markup language for creating formatted text using a plain-text editor. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-2436","post","type-post","status-publish","format-standard","hentry","category-programming","category-web"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2436"}],"version-history":[{"count":4,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2436\/revisions"}],"predecessor-version":[{"id":5712,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2436\/revisions\/5712"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}