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

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

  •  
  •   monsterxx03 · Jan 10, 2013 · 18216 views
    This topic created in 5047 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
    zythum
    Jan 10, 2013
    1
    = =. 不知道..

    要不用段落把

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

    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
    eth2net
    Jan 10, 2013❤️4
    3
    最外层连续两个反引号

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