{"id":2436,"date":"2021-09-28T17:28:36","date_gmt":"2021-09-28T17:28:36","guid":{"rendered":"https:\/\/dft.wiki\/?p=2436"},"modified":"2021-11-20T00:52:49","modified_gmt":"2021-11-20T00:52:49","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 at least one online editor like StackEdit [<a href=\"https:\/\/stackedit.io\/\">Link<\/a>].<\/p>\n<p>GitHub has its own flavor of markdown with few extra features.<\/p>\n<div>\n<pre>&lt;!--\u00a0Comments\u00a0that\u00a0will\u00a0not\u00a0show\u00a0up\u00a0in\u00a0the\u00a0view\u00a0--&gt;<\/pre>\n<pre># Bigger header<\/pre>\n<pre>## Second bigger header\r\n### Medium size header\r\n#### Medium size header\r\n##### Second smaller header\r\n######\u00a0Smaller\u00a0header<\/pre>\n<pre>*italic*\r\n_italic_\r\n**strong**\r\n__strong__\r\n***italic and strong***\r\n~~strikedthrough~~<\/pre>\n<pre>---\r\n___\r\n***<\/pre>\n<pre>\\*scape character\\*<\/pre>\n<pre>&gt; block quote<\/pre>\n<pre>[link caption](http:\/\/...\/ \"title\")<\/pre>\n<pre>* topic\r\n \u00a0\u00a0\u00a0*\u00a0sub-topic<\/pre>\n<pre>1. list item one\r\n1. list item two<\/pre>\n<pre>`code block`<\/pre>\n<pre>![image name](http:\/\/...\/ \"title\")<\/pre>\n<pre>```\r\nbig code block for github\r\n```<\/pre>\n<pre>```javascript\r\nvarName = \"string\";\r\n```<\/pre>\n<pre>| table collumn one | table collumn two |\r\n| - | - |\r\n| line one col one | line one col one |\r\n| line two col two | line two col two |<\/pre>\n<pre>* [ ] unchecked task\r\n* [x] checked task<\/pre>\n<pre>the next line entry\\<\/pre>\n<pre>Here's 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":1,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2436\/revisions"}],"predecessor-version":[{"id":2437,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/2436\/revisions\/2437"}],"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}]}}