readme (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
grayfriday ---------- A fork of github.com/russross/blackfriday/v2 with a few changes. Notably: • Em-dashes swallow spaces. For example: "Foo -- bar" becomes "Foo—bar" This is more typographically accurate, while allowing for cleaner looking plaintext. • En-dashes only between numbers. For example: "8-9 years" becomes "8ndash;9 years". Again, this keeps the plaintext more natural (as opposed to writing "8 - 9" years in blackfriday for an en-dash). • Optional image width/height. For example: ![foo image](http://example.com/bar.png){400x800} This renders as: <p><img src="http://example.com/bar.png" alt="foo style="width:400px; height:800px;" /></p> INSTALL go get git.icyphox.sh/grayfriday LICENSE Maintains the same license as blackfriday -- Simplified BSD. |