1{
2 "name": "",
3 "isFolderOnly": false,
4 "fontFamily": "SourceSansPro",
5 "shapes": [
6 {
7 "id": "md",
8 "type": "text",
9 "pos": {
10 "x": 12,
11 "y": 148
12 },
13 "width": 3051,
14 "height": 4853,
15 "opacity": 1,
16 "strokeDash": 0,
17 "strokeWidth": 2,
18 "borderRadius": 0,
19 "fill": "transparent",
20 "stroke": "N1",
21 "shadow": false,
22 "3d": false,
23 "multiple": false,
24 "double-border": false,
25 "tooltip": "",
26 "link": "",
27 "icon": null,
28 "iconPosition": "",
29 "blend": false,
30 "fields": null,
31 "methods": null,
32 "columns": null,
33 "label": "# Markdown: Syntax\n\n- [Overview](#overview)\n - [Philosophy](#philosophy)\n - [Inline HTML](#html)\n - [Automatic Escaping for Special Characters](#autoescape)\n- [Block Elements](#block)\n - [Paragraphs and Line Breaks](#p)\n - [Headers](#header)\n - [Blockquotes](#blockquote)\n - [Lists](#list)\n - [Code Blocks](#precode)\n - [Horizontal Rules](#hr)\n- [Span Elements](#span)\n - [Links](#link)\n - [Emphasis](#em)\n - [Code](#code)\n - [Images](#img)\n- [Miscellaneous](#misc)\n - [Backslash Escapes](#backslash)\n - [Automatic Links](#autolink)\n\n**Note:** This document is itself written using Markdown; you\ncan [see the source for it by adding '.text' to the URL](/projects/markdown/syntax.text).\n\n---\n\n## Overview\n\n### Philosophy\n\nMarkdown is intended to be as easy-to-read and easy-to-write as is feasible.\n\nReadability, however, is emphasized above all else. A Markdown-formatted\ndocument should be publishable as-is, as plain text, without looking\nlike it's been marked up with tags or formatting instructions. While\nMarkdown's syntax has been influenced by several existing text-to-HTML\nfilters -- including [Setext](http://docutils.sourceforge.net/mirror/setext.html), [atx](http://www.aaronsw.com/2002/atx/), [Textile](http://textism.com/tools/textile/), [reStructuredText](http://docutils.sourceforge.net/rst.html),\n[Grutatext](http://www.triptico.com/software/grutatxt.html), and [EtText](http://ettext.taint.org/doc/) -- the single biggest source of\ninspiration for Markdown's syntax is the format of plain text email.\n\n## Block Elements\n\n### Paragraphs and Line Breaks\n\nA paragraph is simply one or more consecutive lines of text, separated\nby one or more blank lines. (A blank line is any line that looks like a\nblank line -- a line containing nothing but spaces or tabs is considered\nblank.) Normal paragraphs should not be indented with spaces or tabs.\n\nThe implication of the \"one or more consecutive lines of text\" rule is\nthat Markdown supports \"hard-wrapped\" text paragraphs. This differs\nsignificantly from most other text-to-HTML formatters (including Movable\nType's \"Convert Line Breaks\" option) which translate every line break\nend a line with two or more spaces, then type return.\n\n### Headers\n\nMarkdown supports two styles of headers, [Setext] [1] and [atx] [2].\n\nOptionally, you may \"close\" atx-style headers. This is purely\ncosmetic -- you can use this if you think it looks better. The\nclosing hashes don't even need to match the number of hashes\nused to open the header. (The number of opening hashes\ndetermines the header level.)\n\n### Blockquotes\n\nfamiliar with quoting passages of text in an email message, then you\nknow how to create a blockquote in Markdown. It looks best if you hard\n\n> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,\n> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.\n> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.\n>\n> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse\n> id sem consectetuer libero luctus adipiscing.\n\nline of a hard-wrapped paragraph:\n\n> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,\n> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.\n> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.\n\n> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse\n> id sem consectetuer libero luctus adipiscing.\n\nBlockquotes can be nested (i.e. a blockquote-in-a-blockquote) by\n\n> This is the first level of quoting.\n>\n> > This is nested blockquote.\n>\n> Back to the first level.\n\nBlockquotes can contain other Markdown elements, including headers, lists,\nand code blocks:\n\n> ## This is a header.\n>\n> 1. This is the first list item.\n> 2. This is the second list item.\n>\n> Here's some example code:\n>\n> return shell_exec(\"echo $input $markdown_script\");\n\nAny decent text editor should make email-style quoting easy. For\nexample, with BBEdit, you can make a selection and choose Increase\nQuote Level from the Text menu.\n\n### Lists\n\nMarkdown supports ordered (numbered) and unordered (bulleted) lists.\n\nUnordered lists use asterisks, pluses, and hyphens -- interchangably\n-- as list markers:\n\n- Red\n- Green\n- Blue\n\nis equivalent to:\n\n- Red\n- Green\n- Blue\n\nand:\n\n- Red\n- Green\n- Blue\n\nOrdered lists use numbers followed by periods:\n\n1. Bird\n2. McHale\n3. Parish\n\nIt's important to note that the actual numbers you use to mark the\nlist have no effect on the HTML output Markdown produces. The HTML\nMarkdown produces from the above list is:\n\nIf you instead wrote the list in Markdown like this:\n\n1. Bird\n1. McHale\n1. Parish\n\nor even:\n\n3. Bird\n1. McHale\n1. Parish\n\nyou'd get the exact same HTML output. The point is, if you want to,\nyou can use ordinal numbers in your ordered Markdown lists, so that\nthe numbers in your source match the numbers in your published HTML.\nBut if you want to be lazy, you don't have to.\n\nTo make lists look nice, you can wrap items with hanging indents:\n\n- Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\n Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,\n viverra nec, fringilla in, laoreet vitae, risus.\n- Donec sit amet nisl. Aliquam semper ipsum sit amet velit.\n Suspendisse id sem consectetuer libero luctus adipiscing.\n\nBut if you want to be lazy, you don't have to:\n\n- Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\n Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,\n viverra nec, fringilla in, laoreet vitae, risus.\n- Donec sit amet nisl. Aliquam semper ipsum sit amet velit.\n Suspendisse id sem consectetuer libero luctus adipiscing.\n\nList items may consist of multiple paragraphs. Each subsequent\nparagraph in a list item must be indented by either 4 spaces\nor one tab:\n\n1. This is a list item with two paragraphs. Lorem ipsum dolor\n sit amet, consectetuer adipiscing elit. Aliquam hendrerit\n mi posuere lectus.\n\n Vestibulum enim wisi, viverra nec, fringilla in, laoreet\n vitae, risus. Donec sit amet nisl. Aliquam semper ipsum\n sit amet velit.\n\n2. Suspendisse id sem consectetuer libero luctus adipiscing.\n\nIt looks nice if you indent every line of the subsequent\nparagraphs, but here again, Markdown will allow you to be\nlazy:\n\n- This is a list item with two paragraphs.\n\n This is the second paragraph in the list item. You're\n\n only required to indent the first line. Lorem ipsum dolor\n sit amet, consectetuer adipiscing elit.\n\n- Another item in the same list.\n\ndelimiters need to be indented:\n\n- A list item with a blockquote:\n\n > This is a blockquote\n > inside a list item.\n\nTo put a code block within a list item, the code block needs\nto be indented _twice_ -- 8 spaces or two tabs:\n\n- A list item with a code block:\n\n### Code Blocks\n\nPre-formatted code blocks are used for writing about programming or\nmarkup source code. Rather than forming normal paragraphs, the lines\nof a code block are interpreted literally. Markdown wraps a code block\n\nTo produce a code block in Markdown, simply indent every line of the\nblock by at least 4 spaces or 1 tab.\n\nThis is a normal paragraph:\n\n This is a code block.\n\nHere is an example of AppleScript:\n\n tell application \"Foo\"\n beep\n end tell\n\nA code block continues until it reaches a line that is not indented\n(or the end of the article).\n\nare automatically converted into HTML entities. This makes it very\neasy to include example HTML source code using Markdown -- just paste\nit and indent it, and Markdown will handle the hassle of encoding the\nampersands and angle brackets. For example, this:\n\nRegular Markdown syntax is not processed within code blocks. E.g.,\nasterisks are just literal asterisks within a code block. This means\nit's also easy to use Markdown to write about Markdown's own syntax.\n\n## Span Elements\n\n### Links\n\nMarkdown supports two style of links: _inline_ and _reference_.\n\nIn both styles, the link text is delimited by [square brackets].\n\nTo create an inline link, use a set of regular parentheses immediately\nafter the link text's closing square bracket. Inside the parentheses,\nput the URL where you want the link to point, along with an _optional_\ntitle for the link, surrounded in quotes. For example:\n\nThis is [an example](http://example.com/) inline link.\n\n[This link](http://example.net/) has no title attribute.\n\n### Emphasis\n\n_single asterisks_\n\n_single underscores_\n\n**double asterisks**\n\n**double underscores**\n\n### Code\n\nUnlike a pre-formatted code block, a code span indicates code within a\nnormal paragraph. For example:\n",
34 "fontSize": 16,
35 "fontFamily": "DEFAULT",
36 "language": "markdown",
37 "color": "N1",
38 "italic": false,
39 "bold": false,
40 "underline": false,
41 "labelWidth": 3051,
42 "labelHeight": 4853,
43 "zIndex": 0,
44 "level": 1
45 },
46 {
47 "id": "a",
48 "type": "rectangle",
49 "pos": {
50 "x": 1511,
51 "y": 12
52 },
53 "width": 53,
54 "height": 66,
55 "opacity": 1,
56 "strokeDash": 0,
57 "strokeWidth": 2,
58 "borderRadius": 0,
59 "fill": "B6",
60 "stroke": "B1",
61 "shadow": false,
62 "3d": false,
63 "multiple": false,
64 "double-border": false,
65 "tooltip": "",
66 "link": "",
67 "icon": null,
68 "iconPosition": "",
69 "blend": false,
70 "fields": null,
71 "methods": null,
72 "columns": null,
73 "label": "a",
74 "fontSize": 16,
75 "fontFamily": "DEFAULT",
76 "language": "",
77 "color": "N1",
78 "italic": false,
79 "bold": true,
80 "underline": false,
81 "labelWidth": 8,
82 "labelHeight": 21,
83 "labelPosition": "INSIDE_MIDDLE_CENTER",
84 "zIndex": 0,
85 "level": 1
86 },
87 {
88 "id": "b",
89 "type": "rectangle",
90 "pos": {
91 "x": 1511,
92 "y": 5071
93 },
94 "width": 53,
95 "height": 66,
96 "opacity": 1,
97 "strokeDash": 0,
98 "strokeWidth": 2,
99 "borderRadius": 0,
100 "fill": "B6",
101 "stroke": "B1",
102 "shadow": false,
103 "3d": false,
104 "multiple": false,
105 "double-border": false,
106 "tooltip": "",
107 "link": "",
108 "icon": null,
109 "iconPosition": "",
110 "blend": false,
111 "fields": null,
112 "methods": null,
113 "columns": null,
114 "label": "b",
115 "fontSize": 16,
116 "fontFamily": "DEFAULT",
117 "language": "",
118 "color": "N1",
119 "italic": false,
120 "bold": true,
121 "underline": false,
122 "labelWidth": 8,
123 "labelHeight": 21,
124 "labelPosition": "INSIDE_MIDDLE_CENTER",
125 "zIndex": 0,
126 "level": 1
127 }
128 ],
129 "connections": [
130 {
131 "id": "(a -> md)[0]",
132 "src": "a",
133 "srcArrow": "none",
134 "dst": "md",
135 "dstArrow": "triangle",
136 "opacity": 1,
137 "strokeDash": 0,
138 "strokeWidth": 2,
139 "stroke": "B1",
140 "borderRadius": 10,
141 "label": "",
142 "fontSize": 16,
143 "fontFamily": "DEFAULT",
144 "language": "",
145 "color": "N2",
146 "italic": true,
147 "bold": false,
148 "underline": false,
149 "labelWidth": 0,
150 "labelHeight": 0,
151 "labelPosition": "",
152 "labelPercentage": 0,
153 "route": [
154 {
155 "x": 1537.5,
156 "y": 78
157 },
158 {
159 "x": 1537.5,
160 "y": 148
161 }
162 ],
163 "animated": false,
164 "tooltip": "",
165 "icon": null,
166 "zIndex": 0
167 },
168 {
169 "id": "(md -> b)[0]",
170 "src": "md",
171 "srcArrow": "none",
172 "dst": "b",
173 "dstArrow": "triangle",
174 "opacity": 1,
175 "strokeDash": 0,
176 "strokeWidth": 2,
177 "stroke": "B1",
178 "borderRadius": 10,
179 "label": "",
180 "fontSize": 16,
181 "fontFamily": "DEFAULT",
182 "language": "",
183 "color": "N2",
184 "italic": true,
185 "bold": false,
186 "underline": false,
187 "labelWidth": 0,
188 "labelHeight": 0,
189 "labelPosition": "",
190 "labelPercentage": 0,
191 "route": [
192 {
193 "x": 1537.5,
194 "y": 5001
195 },
196 {
197 "x": 1537.5,
198 "y": 5071
199 }
200 ],
201 "animated": false,
202 "tooltip": "",
203 "icon": null,
204 "zIndex": 0
205 }
206 ],
207 "root": {
208 "id": "",
209 "type": "",
210 "pos": {
211 "x": 0,
212 "y": 0
213 },
214 "width": 0,
215 "height": 0,
216 "opacity": 0,
217 "strokeDash": 0,
218 "strokeWidth": 0,
219 "borderRadius": 0,
220 "fill": "N7",
221 "stroke": "",
222 "shadow": false,
223 "3d": false,
224 "multiple": false,
225 "double-border": false,
226 "tooltip": "",
227 "link": "",
228 "icon": null,
229 "iconPosition": "",
230 "blend": false,
231 "fields": null,
232 "methods": null,
233 "columns": null,
234 "label": "",
235 "fontSize": 0,
236 "fontFamily": "",
237 "language": "",
238 "color": "",
239 "italic": false,
240 "bold": false,
241 "underline": false,
242 "labelWidth": 0,
243 "labelHeight": 0,
244 "zIndex": 0,
245 "level": 0
246 }
247}
View as plain text