blockquote
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.
This is nested block quote.
This is a header.
- This is the first list item.
- This is the second list item.
Here’s some example code:
return shell_exec("echo $input | $markdown_script");
ul
-
Red
-
Green
-
Blue
ol (use \ to escape period after number)
-
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.
-
Suspendisse id sem consectetuer libero luctus adipiscing.
better format
-
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.
blank line affects <p>
e.g.
- Bird
- Magic
Bird
Magic
code block
1 intend
This is a normal paragraph:
This is a code block.
<hr>
This is an example inline link.
This link has no title attribute.
Reference-style links
This is an example reference-style link.
single asterisks
single underscores
double asterisks
double underscores
inline code
Use the printf()
function.
There is a literal backtick (`) here.
##图片测试
others
auto link
escaping
\ backslash
` backtick
- asterisk
_ underscore
{} curly braces
[] square brackets
() parentheses
hash mark
-
plus sign
-
minus sign (hyphen)
. dot
! exclamation mark