+ "copy": "<p>This is intended as a quick reference and showcase. For more complete info, see <a href=\"http://daringfireball.net/projects/markdown/\">John Gruber's\n original spec</a> and the <a href=\"http://github.github.com/github-flavored-markdown/\">Github-flavored Markdown info page</a>.</p>\n<h5>Table of Contents</h5>\n<p><a href=\"#headers\">Headers</a><br>\n <a href=\"#emphasis\">Emphasis</a><br>\n <a href=\"#lists\">Lists</a><br>\n <a href=\"#links\">Links</a><br>\n <a href=\"#images\">Images</a><br>\n <a href=\"#code\">Code and Syntax Highlighting</a><br>\n <a href=\"#tables\">Tables</a><br>\n <a href=\"#blockquotes\">Blockquotes</a><br>\n <a href=\"#html\">Inline HTML</a><br>\n <a href=\"#hr\">Horizontal Rule</a><br>\n <a href=\"#lines\">Line Breaks</a><br>\n <a href=\"#videos\">Youtube videos</a></p>\n<a name=\"headers\"> ## Headers\n <pre><code class=\"language-no-highlight\"># H1\n## H2\n### H3\n#### H4\n##### H5\n###### H6\n\nAlternatively, for H1 and H2, an underline-ish style:\n\nAlt-H1\n======\n\nAlt-H2\n------\n</code></pre>\n <h1>H1</h1>\n <h2>H2</h2>\n <h3>H3</h3>\n <h4>H4</h4>\n <h5>H5</h5>\n <h6>H6</h6>\n <p>Alternatively, for H1 and H2, an underline-ish style:</p>\n <h1>Alt-H1</h1>\n <h2>Alt-H2</h2>\n</a><a name=\"emphasis\"> ## Emphasis\n <pre><code class=\"language-no-highlight\">Emphasis, aka italics, with *asterisks* or _underscores_.\n\nStrong emphasis, aka bold, with **asterisks** or __underscores__.\n\nCombined emphasis with **asterisks and _underscores_**.\n\nStrikethrough uses two tildes. ~~Scratch this.~~\n</code></pre>\n <p>Emphasis, aka italics, with <em>asterisks</em> or <em>underscores</em>.</p>\n <p>Strong emphasis, aka bold, with <strong>asterisks</strong> or <strong>underscores</strong>.</p>\n <p>Combined emphasis with <strong>asterisks and <em>underscores</em></strong>.</p>\n <p>Strikethrough uses two tildes. <s>Scratch this.</s></p>\n</a><a name=\"lists\"> ## Lists\n <pre><code class=\"language-no-highlight\">1. First ordered list item\n2. Another item\n * Unordered sub-list.\n1. Actual numbers don't matter, just that it's a number\n 1. Ordered sub-list\n4. And another item.\n\n Some text that should be aligned with the above item.\n\n* Unordered list can use asterisks\n- Or minuses\n+ Or pluses\n</code></pre>\n <ol>\n <li>First ordered list item</li>\n <li>Another item</li>\n </ol>\n <ul>\n <li>Unordered sub-list.</li>\n </ul>\n <ol>\n <li>\n <p>Actual numbers don't matter, just that it's a number</p>\n </li>\n <li>\n <p>Ordered sub-list</p>\n </li>\n <li>\n <p>And another item.</p>\n <p>Some text that should be aligned with the above item.</p>\n </li>\n </ol>\n <ul>\n <li>Unordered list can use asterisks</li>\n </ul>\n <ul>\n <li>Or minuses</li>\n </ul>\n <ul>\n <li>Or pluses</li>\n </ul>\n</a><a name=\"links\"> ## Links <p>There are two ways to create links.</p>\n <pre><code class=\"language-no-highlight\">[I'm an inline-style link](https://www.google.com)\n\n[I'm a reference-style link][Arbitrary case-insensitive reference text]\n\n[You can use numbers for reference-style link definitions][1]\n\nOr leave it empty and use the [link text itself][]\n\nSome text to show that the reference links can follow later.\n\n[arbitrary case-insensitive reference text]: https://www.mozilla.org\n[1]: http://slashdot.org\n[link text itself]: http://www.reddit.com\n</code></pre>\n</a><p><a name=\"links\"></a><a href=\"https://www.google.com\">I'm an inline-style link</a></p>\n<p><a href=\"https://www.mozilla.org\">I'm a reference-style link</a></p>\n<p><a href=\"http://slashdot.org\">You can use numbers for reference-style link definitions</a></p>\n<p>Or leave it empty and use the <a href=\"http://www.reddit.com\">link text itself</a></p>\n<p>Some text to show that the reference links can follow later.</p>\n<a name=\"images\"> ## Images\n <pre><code class=\"language-no-highlight\">Here's an image (hover to see the title text):\n\nInline-style:\n\n\nReference-style:\n![alt text][logo]\n\n[logo]: https://placeimg.com/48/48/any \"Image Title Text 2\"\n</code></pre>\n <p>Here's our logo (hover to see the title text):</p>\n <p>Inline-style: <img src=\"https://placeimg.com/320/180/any\" alt=\"alt text\" title=\"Image Title Text 1\"></p>\n <p>Reference-style: <img src=\"https://placeimg.com/320/180/any\" alt=\"alt text\" title=\"Image Title Text 2\"></p>\n</a><a name=\"code\"> ## Code and Syntax Highlighting </a><p><a name=\"code\">Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers --\n like Github's and <em>Markdown Here</em> -- support syntax highlighting. <em>Markdown Here</em> supports highlighting for dozens of languages (and\n not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the </a><a href=\"http://softwaremaniacs.org/media/soft/highlight/test.html\">highlight.js\n demo page</a>.</p>\n<pre><code class=\"language-no-highlight\">Inline `code` has `back-ticks around` it.\n</code></pre>\n<p>Inline <code>code</code> has <code>back-ticks around</code> it.</p>\n<p>Blocks of code are either fenced by lines with three back-ticks <code>```</code>, or are indented with four spaces. I recommend only using the fenced\n code blocks -- they're easier and only they support syntax highlighting.</p>\n<pre><code class=\"language-no-highlight\"> ```javascript\n var s = \"JavaScript syntax highlighting\";\n alert(s);\n</code></pre>\n<pre><code class=\"language-python\">s = \"Python syntax highlighting\"\nprint s\n</code></pre>\n<pre><code>No language indicated, so no syntax highlighting.\nBut let's throw in a <b>tag</b>.\n</code></pre>\n<pre><code>\n```javascript\nvar s = \"JavaScript syntax highlighting\";\nalert(s);\n</code></pre>\n<pre><code class=\"language-python\">s = \"Python syntax highlighting\"\nprint s\n</code></pre>\n<pre><code>No language indicated, so no syntax highlighting in Markdown Here (varies on Github).\nBut let's throw in a <b>tag</b>.\n</code></pre>\n<p>Again, to see what languages are available for highlighting, and how to write those language names, see the <a href=\"http://softwaremaniacs.org/media/soft/highlight/test.html\">highlight.js\n demo page</a>.</p>\n<a name=\"tables\"> ## Tables <p>Tables aren't part of the core Markdown spec, but they are part of GFM and <em>Markdown Here</em> supports them. They are\n an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application.</p>\n <pre><code class=\"language-no-highlight\">Colons can be used to align columns.\n\n| Tables | Are | Cool |\n| ------------- |:-------------:| -----:|\n| col 3 is | right-aligned | $1600 |\n| col 2 is | centered | $12 |\n| zebra stripes | are neat | $1 |\n\nThe outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.\n\nMarkdown | Less | Pretty\n--- | --- | ---\n*Still* | `renders` | **nicely**\n1 | 2 | 3\n</code></pre>\n <p>Colons can be used to align columns.</p>\n <table>\n <thead>\n <tr>\n <th>Tables</th>\n <th style=\"text-align:center\">Are</th>\n <th style=\"text-align:right\">Cool</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>col 3 is</td>\n <td style=\"text-align:center\">right-aligned</td>\n <td style=\"text-align:right\">$1600</td>\n </tr>\n <tr>\n <td>col 2 is</td>\n <td style=\"text-align:center\">centered</td>\n <td style=\"text-align:right\">$12</td>\n </tr>\n <tr>\n <td>zebra stripes</td>\n <td style=\"text-align:center\">are neat</td>\n <td style=\"text-align:right\">$1</td>\n </tr>\n </tbody>\n </table>\n <p>The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.</p>\n <table>\n <thead>\n <tr>\n <th>Markdown</th>\n <th>Less</th>\n <th>Pretty</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td><em>Still</em></td>\n <td><code>renders</code></td>\n <td><strong>nicely</strong></td>\n </tr>\n <tr>\n <td>1</td>\n <td>2</td>\n <td>3</td>\n </tr>\n </tbody>\n </table>\n</a><a name=\"blockquotes\"> ## Blockquotes\n <pre><code class=\"language-no-highlight\">> Blockquotes are very handy in email to emulate reply text.\n> This line is part of the same quote.\n\nQuote break.\n\n> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote.\n</code></pre>\n <blockquote>\n <p>Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.</p>\n </blockquote>\n <p>Quote break.</p>\n <blockquote>\n <p>This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap\n for everyone. Oh, you can <em>put</em> <strong>Markdown</strong> into a blockquote.</p>\n </blockquote>\n</a><a name=\"html\"> ## Inline HTML <p>You can also use raw HTML in your Markdown, and it'll mostly work pretty well.</p>\n <pre><code class=\"language-no-highlight\"><dl>\n <dt>Definition list</dt>\n <dd>Is something people use sometimes.</dd>\n\n <dt>Markdown in HTML</dt>\n <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>\n</dl>\n</code></pre>\n <dl>\n <dt>Definition list</dt>\n <dd>Is something people use sometimes.</dd>\n <dt>Markdown in HTML</dt>\n <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>\n </dl>\n</a><a name=\"hr\"> ## Horizontal Rule\n <pre><code>Three or more...\n\n---\n\nHyphens\n\n***\n\nAsterisks\n\n___\n\nUnderscores\n</code></pre>\n <p>Three or more...</p>\n <hr>\n <p>Hyphens</p>\n <hr>\n <p>Asterisks</p>\n <hr>\n <p>Underscores</p>\n</a><a name=\"lines\"> ## Line Breaks <p>My basic recommendation for learning how line breaks work is to experiment and discover -- hit <Enter> once\n (i.e., insert one newline), then hit it twice (i.e., insert two newlines), see what happens. You'll soon learn to get what you want. \"Markdown\n Toggle\" is your friend.</p>\n <p>Here are some things to try out:</p>\n <pre><code>Here's a line for us to start with.\n\nThis line is separated from the one above by two newlines, so it will be a *separate paragraph*.\n\nThis line is also a separate paragraph, but...\nThis line is only separated by a single newline, so it's a separate line in the *same paragraph*.\n</code></pre>\n <p>Here's a line for us to start with.</p>\n <p>This line is separated from the one above by two newlines, so it will be a <em>separate paragraph</em>.</p>\n <p>This line is also begins a separate paragraph, but...<br> This line is only separated by a single newline, so it's a separate line in the <em>same\n paragraph</em>.</p>\n <p>(Technical note: <em>Markdown Here</em> uses GFM line breaks, so there's no need to use MD's two-space line breaks.)</p>\n</a><a name=\"videos\"> ## Youtube videos <p>They can't be added directly but you can add an image with a link to the video like this:</p>\n <pre><code class=\"language-no-highlight\"><a href=\"http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE\n\" target=\"_blank\"><img src=\"http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg\"\nalt=\"IMAGE ALT TEXT HERE\" width=\"240\" height=\"180\" border=\"10\" /></a>\n</code></pre>\n <p>Or, in pure Markdown, but losing the image sizing and border:</p>\n <pre><code class=\"language-no-highlight\">[](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)\n</code></pre>\n</a>"
0 commit comments