MD Syntax

2018-05-10  本文已影响0人  ThiagoChang

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.

  1. this is the 1st li
  2. 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:

or

or

to put a code block with in a li, the code block needs to be indented twice--8 spaces or 2 tabs:

note that it's possible to trigger an ol by accident, by a number-period-space at the beginning of a line:

  1. 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)

  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
    viverra nec, fringilla in, laoreet vitae, risus.
  2. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
    Suspendisse id sem consectetuer libero luctus adipiscing.
上一篇下一篇

猜你喜欢

热点阅读