美文网首页
Markdown 综合应用

Markdown 综合应用

作者: holidayPenguin | 来源:发表于2016-07-21 23:20 被阅读0次

开发者英文文档

This is an H1


This is an H2

This is an H1

This is an H2

This is an H6

This is an H1

This is an H2

This is an H3

This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.

--

This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
id sem consectetuer libero luctus adipiscing.

This is the first level of quoting.

This is nested blockquote.

Back to the first level.

This is a header.

  1. This is the first list item.
  2. This is the second list item.

Here's some example code:

return shell_exec("echo $input | $markdown_script");
  • Red
  • Green
  • Blue
  • Red
  • Green
  • Blue
  • Red
  • Green
  • Blue
  1. Bird
  2. McHale
  3. Parish

<ol>
<li>Bird</li>
<li>McHale</li>
<li>Parish</li>
</ol>

  1. Bird
  2. McHale
  3. Parish
  1. Bird
  2. McHale
  3. Parish
  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
    viverra nec, fringilla in, laoreet vitae, risus.
  • Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
    Suspendisse id sem consectetuer libero luctus adipiscing.
  • Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
    viverra nec, fringilla in, laoreet vitae, risus.
  • Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
    Suspendisse id sem consectetuer libero luctus adipiscing.
  • Bird
  • Magic

<ul>
<li>Bird</li>
<li>Magic</li>
</ul>

<ul>
<li><p>Bird</p></li>
<li><p>Magic</p></li>
</ul>

  1. This is a list item with two paragraphs. Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit. Aliquam hendrerit
    mi posuere lectus.

    Vestibulum enim wisi, viverra nec, fringilla in, laoreet
    vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
    sit amet velit.

  2. Suspendisse id sem consectetuer libero luctus adipiscing.

  • This is a list item with two paragraphs.

    This is the second paragraph in the list item. You're
    only required to indent the first line. Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit.

  • Another item in the same list.

  • A list item with a blockquote:

    This is a blockquote
    inside a list item.

  • A list item with a code block:

    <code goes here>
    
  1. What a great season.

1986. What a great season.

<p>This is a normal paragraph:</p>

<pre><code>This is a code block.
</code></pre>

Here is an example of AppleScript:

tell application "Foo"
    beep
end tell

<p>Here is an example of AppleScript:</p>

<pre><code>tell application "Foo"
beep
end tell
</code></pre>

<div class="footer">
    © 2004 Foo Corporation
</div>

<pre><code><div class="footer">
© 2004 Foo Corporation
</div>
</code></pre>






This is an example inline link.

This link has no title attribute.

<p>This is <a href="http://example.com/" title="Title"> an example</a> inline link.</p>

<p><a href="http://example.net/">This link</a> has no title attribute.</p>

See my About page for details.
This is [an example][id] reference-style link.
This is [an example] [id] reference-style link.
[id]: http://example.com/ "Optional Title Here"

Visit [Daring Fireball][] for more information.
[Daring Fireball]: http://daringfireball.net/

I get 10 times more traffic from Google than from
Yahoo or MSN.

I get 10 times more traffic from Google than from
Yahoo or MSN.

<p>I get 10 times more traffic from <a href="http://google.com/" title="Google">Google</a> than from <a href="http://search.yahoo.com/" title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/" title="MSN Search">MSN</a>.</p>

single asterisks

single underscores

double asterisks

double underscores

<em>single asterisks</em>

<em>single underscores</em>

<strong>double asterisks</strong>

<strong>double underscores</strong>

unfriggingbelievable

*this text is surrounded by literal asterisks*

Use the printf() function.

<p>Use the <code>printf()</code> function.</p>

There is a literal backtick (`) here.

<p><code>There is a literal backtick (`) here.</code></p>

A single backtick in a code span: `

A backtick-delimited string in a code span: `foo`

<p>A single backtick in a code span: <code>`</code></p>

<p>A backtick-delimited string in a code span: <code>foo</code></p>

Please don't use any <blink> tags.

is the decimal-encoded equivalent of .

http://example.com/

<a href="http://example.com/">http://example.com/</a>

address@example.com

<a href="mailto:address@example.com">address@example.com</a>

*literal asterisks*

\ backslash
` backtick

  • asterisk
    _ underscore
    {} curly braces
    [] square brackets
    () parentheses

hash mark

  • plus sign
  • minus sign (hyphen)
    . dot
    ! exclamation mark

相关文章

网友评论

      本文标题:Markdown 综合应用

      本文链接:https://www.haomeiwen.com/subject/azobjttx.html