feiandxs
V2EX  ›  问与答

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

  •  
  •   feiandxs · May 3, 2012 · 7032 views
    This topic created in 5298 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
    cjou
    May 3, 2012❤️1
    1
    结构样式分离,用CSS
    fanzeyi
    fanzeyi
    May 3, 2012❤️1
    2
    <style type="text/css">img {border: none}</style>

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

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