feiandxs
V2EX  ›  问与答

markdown里给图片加了链接,图片会有边框。怎么在markdown语法里设置边框为0呢?

  •  
  •   feiandxs · May 3, 2012 · 6871 views
    This topic created in 5186 days ago, the information mentioned may be changed or developed.
    markdown里给图片加了链接
    [![textext](/logo.gif)]( http://www.123.com)
    图片会有边框。怎么在markdown语法里设置边框为0呢?
    5 replies    2015-06-30 23:59:44 +08:00
    cjou
        1
    cjou  
       May 3, 2012   ❤️ 1
    结构样式分离,用CSS
    fanzeyi
        2
    fanzeyi  
       May 3, 2012   ❤️ 1
    <style type="text/css">img {border: none}</style>

    = =
    fanzeyi
        3
    fanzeyi  
       May 3, 2012
    Markdown 支持直接写 HTML 标签的..

    找了个 markdown 在线编辑器测试可用..
    feiandxs
        4
    feiandxs  
    OP
       May 3, 2012
    收到楼上各位,感谢。
    因为看到了markdown对html的实现,只顾玩的开心,不知觉忘了结构和样式分离这件事了。
    dadupi
        5
    dadupi  
       Jun 30, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3222 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 11:27 · PVG 19:27 · LAX 04:27 · JFK 07:27
    ♥ Do have faith in what you're doing.