Daring Fireball: Markdown
CommonMark
MacDown Open Source Markdown Editor
Marked
GitHub Flavored Markdown
monsterxx03
V2EX  ›  Markdown

markdown反引号内怎么转义反引号?

  •  
  •   monsterxx03 · Jan 10, 2013 · 17913 views
    This topic created in 4884 days ago, the information mentioned may be changed or developed.
    `git archive master --format=zip > \`git describe master\`.zip`

    用反斜杠无效唉
    5 replies    1970-01-01 08:00:00 +08:00
    zythum
        1
    zythum  
       Jan 10, 2013
    = =. 不知道..

    要不用段落把

    ```
    git archive master --format=zip > `git describe master`.zip
    ```
    lianghai
        2
    lianghai  
       Jan 10, 2013   ❤️ 1
    试试这个:

    http://daringfireball.net/projects/markdown/syntax#code

    To include a literal backtick character within a code span, you can use multiple backticks as the opening and closing delimiters:

    ``There is a literal backtick (`) here.``
    eth2net
        3
    eth2net  
       Jan 10, 2013   ❤️ 4
    最外层连续两个反引号

    ``git archive master --format=zip > `git describe master`.zip``
    zythum
        4
    zythum  
       Jan 11, 2013
    楼上正解
    monsterxx03
        5
    monsterxx03  
    OP
       Jan 11, 2013
    @lianghai
    @eth2net
    thx :)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1661 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 16:24 · PVG 00:24 · LAX 09:24 · JFK 12:24
    ♥ Do have faith in what you're doing.