公告 Markdown 开始支持设置图片宽度高度

huacnlee · February 23, 2016 · Last by peter replied at February 23, 2016 · 7161 hits
![alt 文本](http://image-path.png)
![alt 文本](http://image-path.png "图片 Title 值")
![设置图片宽度高度](http://image-path.png =300x200)
![设置图片宽度](http://image-path.png =300x)
![设置图片高度](http://image-path.png =x200)

实现方式:

https://github.com/ruby-china/ruby-china/blob/master/lib/markdown.rb#L37

我觉得搞方言不太好。

#2 楼 @rei 我时常需要设定宽度,因为 Mac 上面截图是 Retina 2x 尺寸

另外,这个语法 GitHub 也是支持的

好用,刚刚设置了一下,立竿见影。

#2 楼 @rei 我就知道你会这样说。我也是这么觉得的,但 Markdown 也太不给力了,有时候想给字体加个颜色都不容易。

You need to Sign in before reply, if you don't have an account, please Sign up first.