Testing internal links
This commit is contained in:
parent
7312762c1b
commit
e0cabb17c0
43
markdown.md
43
markdown.md
@ -1,8 +1,8 @@
|
|||||||
# The Cheat Sheet
|
# The Cheat Sheet
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
[Headers](##headers)
|
[Headers](#headers)
|
||||||
[Emphasis](###emphasis)
|
[Emphasis](#emphasis)
|
||||||
[Lists](#lists)
|
[Lists](#lists)
|
||||||
[Links](#links)
|
[Links](#links)
|
||||||
[Images](#images)
|
[Images](#images)
|
||||||
@ -69,8 +69,7 @@ Combined emphasis with **asterisks and _underscores_**.
|
|||||||
Strikethrough uses two tildes. ~~Scratch this.~~
|
Strikethrough uses two tildes. ~~Scratch this.~~
|
||||||
|
|
||||||
|
|
||||||
<a name="lists"/>
|
### Lists
|
||||||
## Lists
|
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
1. First ordered list item
|
1. First ordered list item
|
||||||
@ -100,8 +99,8 @@ Strikethrough uses two tildes. ~~Scratch this.~~
|
|||||||
- Or minuses
|
- Or minuses
|
||||||
+ Or pluses
|
+ Or pluses
|
||||||
|
|
||||||
<a name="links"/>
|
|
||||||
## Links
|
### Links
|
||||||
|
|
||||||
There are two ways to create links.
|
There are two ways to create links.
|
||||||
|
|
||||||
@ -135,8 +134,8 @@ Some text to show that the reference links can follow later.
|
|||||||
[1]: http://slashdot.org
|
[1]: http://slashdot.org
|
||||||
[link text itself]: http://www.reddit.com
|
[link text itself]: http://www.reddit.com
|
||||||
|
|
||||||
<a name="images"/>
|
|
||||||
## Images
|
### Images
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
Here's our logo (hover to see the title text):
|
Here's our logo (hover to see the title text):
|
||||||
@ -160,8 +159,8 @@ Reference-style:
|
|||||||
|
|
||||||
[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"
|
[logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2"
|
||||||
|
|
||||||
<a name="code"/>
|
|
||||||
## Code and Syntax Highlighting
|
### Code and Syntax Highlighting
|
||||||
|
|
||||||
Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and *Markdown Here* -- support syntax highlighting. *Markdown Here* supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the [highlight.js demo page](http://softwaremaniacs.org/media/soft/highlight/test.html).
|
Code blocks are part of the Markdown spec, but syntax highlighting isn't. However, many renderers -- like Github's and *Markdown Here* -- support syntax highlighting. *Markdown Here* supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers); to see the complete list, and how to write the language names, see the [highlight.js demo page](http://softwaremaniacs.org/media/soft/highlight/test.html).
|
||||||
|
|
||||||
@ -209,8 +208,8 @@ But let's throw in a <b>tag</b>.
|
|||||||
|
|
||||||
Again, to see what languages are available for highlighting, and how to write those language names, see the [highlight.js demo page](http://softwaremaniacs.org/media/soft/highlight/test.html).
|
Again, to see what languages are available for highlighting, and how to write those language names, see the [highlight.js demo page](http://softwaremaniacs.org/media/soft/highlight/test.html).
|
||||||
|
|
||||||
<a name="tables"/>
|
|
||||||
## Tables
|
### Tables
|
||||||
|
|
||||||
Tables aren't part of the core Markdown spec, but they are part of GFM and *Markdown Here* supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application.
|
Tables aren't part of the core Markdown spec, but they are part of GFM and *Markdown Here* supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application.
|
||||||
|
|
||||||
@ -246,8 +245,8 @@ Markdown | Less | Pretty
|
|||||||
*Still* | `renders` | **nicely**
|
*Still* | `renders` | **nicely**
|
||||||
1 | 2 | 3
|
1 | 2 | 3
|
||||||
|
|
||||||
<a name="blockquotes"/>
|
|
||||||
## Blockquotes
|
### Blockquotes
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
> Blockquotes are very handy in email to emulate reply text.
|
> Blockquotes are very handy in email to emulate reply text.
|
||||||
@ -265,8 +264,8 @@ Quote break.
|
|||||||
|
|
||||||
> 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.
|
> 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.
|
||||||
|
|
||||||
<a name="html"/>
|
|
||||||
## Inline HTML
|
### Inline HTML
|
||||||
|
|
||||||
You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
|
You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
|
||||||
|
|
||||||
@ -288,8 +287,8 @@ You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
|
|||||||
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
|
<dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<a name="hr"/>
|
|
||||||
## Horizontal Rule
|
### Horizontal Rule
|
||||||
|
|
||||||
```
|
```
|
||||||
Three or more...
|
Three or more...
|
||||||
@ -321,8 +320,8 @@ ___
|
|||||||
|
|
||||||
Underscores
|
Underscores
|
||||||
|
|
||||||
<a name="lines"/>
|
|
||||||
## Line Breaks
|
### Line Breaks
|
||||||
|
|
||||||
My basic recommendation for learning how line breaks work is to experiment and discover -- hit <Enter> once (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 Toggle" is your friend.
|
My basic recommendation for learning how line breaks work is to experiment and discover -- hit <Enter> once (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 Toggle" is your friend.
|
||||||
|
|
||||||
@ -346,8 +345,8 @@ This line is only separated by a single newline, so it's a separate line in the
|
|||||||
|
|
||||||
(Technical note: *Markdown Here* uses GFM line breaks, so there's no need to use MD's two-space line breaks.)
|
(Technical note: *Markdown Here* uses GFM line breaks, so there's no need to use MD's two-space line breaks.)
|
||||||
|
|
||||||
<a name="videos"/>
|
|
||||||
## Youtube videos
|
### Youtube videos
|
||||||
|
|
||||||
They can't be added directly but you can add an image with a link to the video like this:
|
They can't be added directly but you can add an image with a link to the video like this:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user