pluralsight / guides-cms

DEPRECATED - Markdown based CMS with Github repository as persistent storage
http://www.pluralsight.com/guides/
GNU Affero General Public License v3.0
108 stars 35 forks source link

Support image resizing syntax in editor preview #74

Open durden opened 8 years ago

durden commented 8 years ago

Some variants of markdown allow for resizing an image. Maybe we should support this as well? I think github supports it, see this gist:

https://gist.github.com/uupaa/f77d2bcf4dc7a294d109

durden commented 8 years ago

@prtkgpt You were trying this recently in the editor. Any thoughts? What syntax were you trying?

prtkgpt commented 8 years ago

@durden I tried these two at the end of (image link =800x600) and (image link =500x)

http://stackoverflow.com/questions/14675913/how-to-change-image-size-markdown

paulocheque commented 8 years ago

html is supported, example:

<img src="http://fc01.deviantart.net/fs70/i/2012/173/a/0/circle__plain__by_treisaran-d54fnp6.png" width="40" height="60" />