Markdown for Jianshu (简书)

作者: 不過一二三 | 来源:发表于2017-04-07 08:00 被阅读0次

    In this post, I've listed down part of the ways to use Markdown in Jianshu for everybody's reference. Keep reading if you're interested!

    Markdown.jpg

    Markdown is indeed the new sexy mark-up language for writers. If you like to write but are a format freak, markdown is absolutely your thing. It's easy to pick up and use, and it makes your writing seem a lot more logical and readable!

    1. Line Break

    To force a line break, put two spaces and tab Return.

    2. Header

    # Header 1
    ## Header 2
    ### Header 3
    #### Header 4
    

    3. Strong and Emphasize

    Strong **Strong** or __Strong__(Command_B)
    Emphasize *Emphasize* or _Emphasize_ (Command_I)

    4. Insert Emails or Urls

    lalala@gmail.com <lalala@gmail.com>
    http://lalala.uuu.com <http://lalala.uuu.com>

    5. Link Texts

    My Jianshu
    [My Jianshu] (http://www.jianshu.com/u/2fe889d647d6)

    6. Link Pictures

    ![](path/or/url/to.jpg"Optional Title")
    ![](path/or/url/to.jpg"Optional Title")
    or


    [image-id]: path/or/url/to.jpg "Optional Title"
    ![](image-id) [image-id]: path/or/url/to.jpg "Optional Title"
    The latter way makes your mark-ups neater as you can list down all the sources in one place.

    7. Fenced Code Block

    Use~~~or``` to indicate the code

    code
    

    8. Make List

    • Mary has a little lamb. * Mary has a little lamb.
      or
    • Mary has a little lamb. - Mary has a little lamb.
      • Indent a level to make a nested list

    9. Block Quote

    Use > for block quotes.

    Use >> to nest block quotes.

    Also use >>> to create multiple levels.

    10. Inline Code

    Inline Code Use `` to make inline code.

    11. Block Code

    Indent at least four spaces or one tab (In Jianshu, you should indent two tabs.)

    Block Code 
    

    12. Horizontal Rule

    ***


    or
    --- (In Jianshu, this is not enabled.)


    13. Table

    Monday Tuesday
    10:00 10:00
    11:00 11:00
     Monday | Tuesday
     -------|--------
     10:00  |  10:00
     11:00  |  11:00
    

    14. Superscript

    [^name] (not feasible in Jianshu)!
    or
    name<sup>1</sup>

    Jianshu1 Jianshu<sup>1</sup>
    Markdown2 Jianshu<sup>2</sup>

    Jianshu1: Jianshu is a Chinese writing platform.
    Markdown2: Markdown is a user-friendly text formatting syntax created by John Gruber.

    15. Underline

    <u>underline</u> <u>underline</u>

    16. Strikethrough

    strkethrough ~~strkethrough~~

    Conclusion

    These are pretty much most of the tricks you need to know to get your hand in writing with Markdown here in Jianshu. There are still ways of usage where Jianshu and other Markdown tools differ, or Jianshu actually lacks. However, on the whole, your writing won't be affected.

    Happy writing!

    ---end---

    相关文章

      网友评论

        本文标题:Markdown for Jianshu (简书)

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