Below is the introduction to Markdown Syntax
this is used for blockquoting
adding additional levels of >to nest a blockquote.
blockquotes can contain other MD elements, including headers, lists, and code blocks.
- this is the 1st li
- this is the 2nd li
here's some example code:
return shell_exec('echo $input $markdown _script");
you can make an example code by adding enough Tabs.
ul:
- red
- green
- blue
or
- red
- green
- blue
or
- red
- green
- blue
to put a blockquote within a list item, the blockquote's delimiters need to be indented:
- a list item with a blockquote:
this is a blockquote
inside a list item
to put a code block with in a li, the code block needs to be indented twice--8 spaces or 2 tabs:
- a list item with a code block:
< return shell_exec('echo $input $markdown _script");>
note that it's possible to trigger an ol by accident, by a number-period-space at the beginning of a line:
- What a great year.
to avoid this, use backslash in front of period:
1986. What a great year.
list items may consist of multiple paras. Each subsequent para in a list item must be indented with 4 spaces(2 tabs in Jianshu, 1 tab in others)
- 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.
网友评论