V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Daring Fireball: Markdown
CommonMark
MacDown Open Source Markdown Editor
Marked
GitHub Flavored Markdown
monsterxx03
V2EX  ›  Markdown

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

  •  
  •   monsterxx03 · 2013-01-10 22:26:41 +08:00 · 17146 次点击
    这是一个创建于 4116 天前的主题,其中的信息可能已经有所发展或是发生改变。
    `git archive master --format=zip > \`git describe master\`.zip`

    用反斜杠无效唉
    5 条回复    1970-01-01 08:00:00 +08:00
    zythum
        1
    zythum  
       2013-01-10 23:02:39 +08:00
    = =. 不知道..

    要不用段落把

    ```
    git archive master --format=zip > `git describe master`.zip
    ```
    lianghai
        2
    lianghai  
       2013-01-10 23:11:32 +08:00   ❤️ 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  
       2013-01-10 23:14:40 +08:00   ❤️ 4
    最外层连续两个反引号

    ``git archive master --format=zip > `git describe master`.zip``
    zythum
        4
    zythum  
       2013-01-11 00:53:36 +08:00
    楼上正解
    monsterxx03
        5
    monsterxx03  
    OP
       2013-01-11 10:18:07 +08:00
    @lianghai
    @eth2net
    thx :)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5718 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 02:10 · PVG 10:10 · LAX 19:10 · JFK 22:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.