{ "status": "OK", "last_updated": "2017-11-04", "basic_syntax": [ { "name" : "Blockquotes", "description" : "To create a blockquote, add a `>` in front of a paragraph.", "examples" : [ { "markdown" : "> Dorothy followed her through many of the beautiful rooms in her castle.", "html" : "

Dorothy followed her through many of the beautiful rooms in her castle.

" } ], "additional_examples" : [ { "name" : "Blockquotes with Multiple Paragraphs", "description" : "Blockquotes can contain multiple paragraphs. Add a `>` on the blank lines between the paragraphs.", "markdown" : "> Dorothy followed her through many of the beautiful rooms in her castle.\n>\n> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.\n", "html" : "

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

" } , { "name" : "Nested Blockquotes", "description" : "Blockquotes can be nested. Add a `>>` in front of the paragraph you want to nest.", "markdown" : "> Dorothy followed her through many of the beautiful rooms in her castle.\n>\n>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.\n", "html" : "

Dorothy followed her through many of the beautiful rooms in her castle.

The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

" } , { "name" : "Blockquotes with Other Elements", "description" : "Blockquotes can contain other Markdown formatted elements. Not all elements can be used — you'll need to experiment to see which ones work.", "markdown" : "> ### The quarterly results look great!\n>\n> - Revenue was off the chart.\n> - Profits were higher than ever.\n>\n> *Everything* is going according to **plan**.\n", "html" : "

The quarterly results look great!

Everything is going according to plan.

" } ] } , { "name" : "Bold", "description" : "To bold text, add two asterisks or underscores before and after a word or phrase. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters.", "examples" : [ { "markdown" : "I just love **bold text**.", "html" : "I just love bold text." } , { "markdown" : "I just love __bold text__.", "html" : "I just love bold text." } , { "markdown" : "Love**is**bold", "html" : "Loveisbold" } ], "additional_examples" : [ ] } , { "name" : "Code", "description" : "To denote a word or phrase as code, enclose it in tick marks (`` ` ``).", "examples" : [ { "markdown" : "At the command prompt, type `nano`.", "html" : "At the command prompt, type nano." } ], "additional_examples" : [ { "name" : "Escaping Tick Marks", "description" : "If the word or phrase you want to denote as code includes one or more tick marks, you can escape it by enclosing the word or phrase in double tick marks (``).", "markdown" : "``Use `code` in your Markdown file.``", "html" : "Use `code` in your Markdown file." } , { "name" : "Code Blocks", "description" : "To create code blocks, indent every line of the block by at least four spaces or one tab.", "markdown" : "\n \n \n\n", "html" : "
" } ] } , { "name" : "Headings", "description" : "To create a heading, add number signs (`#`) in front of a word or phrase. The number of number signs you use should correspond to the heading level. For example, to create a heading level three (`

`), use three number signs (e.g., `### My Header`).", "examples" : [ { "markdown" : "# Heading level 1", "html" : "

Heading level 1

" } , { "markdown" : "## Heading level 2", "html" : "

Heading level 2

" } , { "markdown" : "### Heading level 3", "html" : "

Heading level 3

" } , { "markdown" : "#### Heading level 4", "html" : "

Heading level 4

" } , { "markdown" : "##### Heading level 5", "html" : "
Heading level 5
" } , { "markdown" : "###### Heading level 6", "html" : "
Heading level 6
" } ], "additional_examples" : [ { "name" : "Alternative H1 Syntax", "description" : "Alternatively, on the line below the text, add any number of == characters for heading level 1.", "markdown" : "Heading level 1\n===============\n", "html" : "

Heading level 1

" } , { "name" : "Alternative H2 Syntax", "description" : "Alternatively, on the line below the text, add any number of -- characters for heading level 2.", "markdown" : "Heading level 2\n---------------\n", "html" : "

Heading level 2

" } ] } , { "name" : "Horizontal Rules", "description" : "To create a horizontal rule, use three or more asterisks (`***`), dashes (`---`), or underscores (`___`) on a line by themselves.", "examples" : [ { "markdown" : "***", "html" : "
" } , { "markdown" : "---", "html" : "
" } , { "markdown" : "_________________", "html" : "
" } ], "additional_examples" : [ ] } , { "name" : "Images", "description" : "To add an image, add an exclamation mark (`!`), followed by alt text in brackets, and the path or URL to the image asset in parentheses. You can optionally add a title after the URL in the parentheses.", "examples" : [ { "markdown" : "![Philadelphia's Magic Gardens. This place was so cool!](/assets/images/philly-magic-gardens.jpg \"Philadelphia's Magic Gardens\")\n", "html" : "\"Philadelphia's" } ], "additional_examples" : [ { "name" : "Linking Images", "description" : "To add a link to an image, enclose the Markdown for the image in brackets, and then add the link in parentheses.", "markdown" : "[![An old rock in the desert](/assets/images/shiprock.jpg \"Shiprock, New Mexico by Beau Rogers\")](https://www.flickr.com/photos/beaurogers/31833779864/in/photolist-Qv3rFw-34mt9F-a9Cmfy-5Ha3Zi-9msKdv-o3hgjr-hWpUte-4WMsJ1-KUQ8N-deshUb-vssBD-6CQci6-8AFCiD-zsJWT-nNfsgB-dPDwZJ-bn9JGn-5HtSXY-6CUhAL-a4UTXB-ugPum-KUPSo-fBLNm-6CUmpy-4WMsc9-8a7D3T-83KJev-6CQ2bK-nNusHJ-a78rQH-nw3NvT-7aq2qf-8wwBso-3nNceh-ugSKP-4mh4kh-bbeeqH-a7biME-q3PtTf-brFpgb-cg38zw-bXMZc-nJPELD-f58Lmo-bXMYG-bz8AAi-bxNtNT-bXMYi-bXMY6-bXMYv)\n", "html" : "\"An" } ] } , { "name" : "Italic", "description" : "To italicize text, add one asterisk or underscore before and after a word or phrase. To italicize the middle of a word for emphasis, add one asterisk without spaces around the letters.", "examples" : [ { "markdown" : "Italicized text is the *cat's meow*.", "html" : "Italicized text is the cat's meow." } , { "markdown" : "Italicized text is the _cat's meow_.", "html" : "Italicized text is the cat's meow." } , { "markdown" : "A*cat*meow", "html" : "Acatmeow" } ], "additional_examples" : [ ] } , { "name" : "Line Breaks", "description" : "To create a line break (`
`), end a line with two or more spaces, and then type return.", "examples" : [ { "markdown" : "This is the first line. \nAnd this is the second line.\n", "html" : "

This is the first line.
And this is the second line.

" } ], "additional_examples" : [ ] } , { "name" : "Links", "description" : "To create a link, enclose the link text in brackets (e.g., `[Duck Duck Go]`) and then follow it immediately with the URL in parentheses (e.g., `(https://duckduckgo.com)`).", "examples" : [ { "markdown" : "My favorite search engine is [Duck Duck Go](https://duckduckgo.com).", "html" : "My favorite search engine is Duck Duck Go." } ], "additional_examples" : [ { "name" : "URLs and Email Addresses", "description" : "To quickly turn a URL or email address into a link, enclose it in angle brackets.", "markdown" : "", "html" : "https://www.markdownguide.orgfake@example.com" } , { "name" : "Formatting Links", "description" : "To emphasize links, add asterisks before and after the brackets and parentheses.", "markdown" : "I love supporting **[EFF](https://eff.org)**. This is the *[Markdown Guide](https://www.markdownguide.org)*.", "html" : "I love supporting EFF. This is the Markdown Guide." } ] } , { "name" : "Ordered Lists", "description" : "To create an ordered list, add line items with numbers followed by periods. The numbers don't have to be in numerical order, but the list should start with the number one.", "examples" : [ { "markdown" : "1. First item\n2. Second item\n3. Third item\n4. Fourth item\n", "html" : "
  1. First item
  2. Second item
  3. Third item
  4. Fourth item
" } , { "markdown" : "1. First item\n1. Second item\n1. Third item\n1. Fourth item\n", "html" : "
  1. First item
  2. Second item
  3. Third item
  4. Fourth item
" } , { "markdown" : "1. First item\n8. Second item\n3. Third item\n5. Fourth item\n", "html" : "
  1. First item
  2. Second item
  3. Third item
  4. Fourth item
" } , { "markdown" : "1. First item\n2. Second item\n3. Third item\n 1. Indented item\n 2. Indented item\n4. Fourth item\n", "html" : "
  1. First item
  2. Second item
  3. Third item
    1. Indented item
    2. Indented item
  4. Fourth item
" } ], "additional_examples" : [ ] } , { "name" : "Paragraphs", "description" : "To create paragraphs, use a blank line to separate one or more lines of text. You should not indent paragraphs with spaces or tabs.", "examples" : [ { "markdown" : "I really like using Markdown.\n\nI think I'll use it to format all of my documents from now on.\n", "html" : "

I really like using Markdown.

I think I'll use it to format all of my documents from now on.

" } ], "additional_examples" : [ ] } , { "name" : "Unordered Lists", "description" : "To create an unordered list, add dashes (`-`), asterisks (`*`), or plus signs (`+`) in front of line items. Indent one or more items to create a nested list.", "examples" : [ { "markdown" : "- First item\n- Second item\n- Third item\n- Fourth item\n", "html" : "" } , { "markdown" : "* First item\n* Second item\n* Third item\n* Fourth item\n", "html" : "" } , { "markdown" : "+ First item\n* Second item\n- Third item\n+ Fourth item\n", "html" : "" } , { "markdown" : "- First item\n- Second item\n- Third item\n - Indented item\n - Indented item\n- Fourth item\n", "html" : "" } ], "additional_examples" : [ ] } ] }