mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-26 20:14:43 +01:00
Update Markdown Documentation - Basics.text
Fix error in updating file
This commit is contained in:
parent
5ba3beb8b0
commit
df341a4ed8
105
testdata/Markdown Documentation - Basics.text
vendored
105
testdata/Markdown Documentation - Basics.text
vendored
@ -97,111 +97,6 @@ Output:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Phrase Emphasis ###
|
|
||||||
|
|
||||||
Markdown uses asterisks and underscores to indicate spans of emphasis.
|
|
||||||
|
|
||||||
Markdown:
|
|
||||||
|
|
||||||
Markdown: Basics
|
|
||||||
================
|
|
||||||
|
|
||||||
<ul id="ProjectSubmenu">
|
|
||||||
<li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li>
|
|
||||||
<li><a class="selected" title="Markdown Basics">Basics</a></li>
|
|
||||||
<li><a href="/projects/markdown/syntax" title="Markdown Syntax Documentation">Syntax</a></li>
|
|
||||||
<li><a href="/projects/markdown/license" title="Pricing and License Information">License</a></li>
|
|
||||||
<li><a href="/projects/markdown/dingus" title="Online Markdown Web Form">Dingus</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
Getting the Gist of Markdown's Formatting Syntax
|
|
||||||
------------------------------------------------
|
|
||||||
|
|
||||||
This page offers a brief overview of what it's like to use Markdown.
|
|
||||||
The [syntax page] [s] provides complete, detailed documentation for
|
|
||||||
every feature, but Markdown should be very easy to pick up simply by
|
|
||||||
looking at a few examples of it in action. The examples on this page
|
|
||||||
are written in a before/after style, showing example syntax and the
|
|
||||||
HTML output produced by Markdown.
|
|
||||||
|
|
||||||
It's also helpful to simply try Markdown out; the [Dingus] [d] is a
|
|
||||||
web application that allows you type your own Markdown-formatted text
|
|
||||||
and translate it to XHTML.
|
|
||||||
|
|
||||||
**Note:** This document is itself written using Markdown; you
|
|
||||||
can [see the source for it by adding '.text' to the URL] [src].
|
|
||||||
|
|
||||||
[s]: /projects/markdown/syntax "Markdown Syntax"
|
|
||||||
[d]: /projects/markdown/dingus "Markdown Dingus"
|
|
||||||
[src]: /projects/markdown/basics.text
|
|
||||||
|
|
||||||
|
|
||||||
## Paragraphs, Headers, Blockquotes ##
|
|
||||||
|
|
||||||
A paragraph is simply one or more consecutive lines of text, separated
|
|
||||||
by one or more blank lines. (A blank line is any line that looks like a
|
|
||||||
blank line -- a line containing nothing spaces or tabs is considered
|
|
||||||
blank.) Normal paragraphs should not be intended with spaces or tabs.
|
|
||||||
|
|
||||||
Markdown offers two styles of headers: *Setext* and *atx*.
|
|
||||||
Setext-style headers for `<h1>` and `<h2>` are created by
|
|
||||||
"underlining" with equal signs (`=`) and hyphens (`-`), respectively.
|
|
||||||
To create an atx-style header, you put 1-6 hash marks (`#`) at the
|
|
||||||
beginning of the line -- the number of hashes equals the resulting
|
|
||||||
HTML header level.
|
|
||||||
|
|
||||||
Blockquotes are indicated using email-style '`>`' angle brackets.
|
|
||||||
|
|
||||||
Markdown:
|
|
||||||
|
|
||||||
A First Level Header
|
|
||||||
====================
|
|
||||||
|
|
||||||
A Second Level Header
|
|
||||||
---------------------
|
|
||||||
|
|
||||||
Now is the time for all good men to come to
|
|
||||||
the aid of their country. This is just a
|
|
||||||
regular paragraph.
|
|
||||||
|
|
||||||
The quick brown fox jumped over the lazy
|
|
||||||
dog's back.
|
|
||||||
|
|
||||||
### Header 3
|
|
||||||
|
|
||||||
> This is a blockquote.
|
|
||||||
>
|
|
||||||
> This is the second paragraph in the blockquote.
|
|
||||||
>
|
|
||||||
> ## This is an H2 in a blockquote
|
|
||||||
|
|
||||||
|
|
||||||
Output:
|
|
||||||
|
|
||||||
<h1>A First Level Header</h1>
|
|
||||||
|
|
||||||
<h2>A Second Level Header</h2>
|
|
||||||
|
|
||||||
<p>Now is the time for all good men to come to
|
|
||||||
the aid of their country. This is just a
|
|
||||||
regular paragraph.</p>
|
|
||||||
|
|
||||||
<p>The quick brown fox jumped over the lazy
|
|
||||||
dog's back.</p>
|
|
||||||
|
|
||||||
<h3>Header 3</h3>
|
|
||||||
|
|
||||||
<blockquote>
|
|
||||||
<p>This is a blockquote.</p>
|
|
||||||
|
|
||||||
<p>This is the second paragraph in the blockquote.</p>
|
|
||||||
|
|
||||||
<h2>This is an H2 in a blockquote</h2>
|
|
||||||
</blockquote>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Phrase Emphasis ###
|
### Phrase Emphasis ###
|
||||||
|
|
||||||
Markdown uses asterisks and underscores to indicate spans of emphasis.
|
Markdown uses asterisks and underscores to indicate spans of emphasis.
|
||||||
|
Loading…
Reference in New Issue
Block a user