sampsyo / lua-sundown

process Markdown safely and quickly in Lua
7 stars 0 forks source link

Consider using Hoedown #1

Open devinus opened 11 years ago

devinus commented 11 years ago

I have revived Sundown into an improved library called Hoedown!

https://github.com/hoedown/hoedown

Here, I merged long languishing pull requests from Sundown, merged almost every improvement from Redcarpet, merged improvements from Rinku and Houdini, greatly improved and standardized the API, and fixed many potential bugs.

Full list of changes: https://github.com/hoedown/hoedown/compare/vmg:master...master

Sundown had a rich collection of bindings and it would truly be a shame if we couldn't all benefit from a single library in the future.

sampsyo commented 11 years ago

Thanks for letting me know. Is there a summary of API changes anywhere?

devinus commented 11 years ago

@sampsyo Negative, I should write a migration guide for binding authors, but it's actually quite simple.

For example, all API functions are now prefixed with hoedown_. There was API standardization so instead of isfoo and is_foo we now just use is_foo, instead of free and release we now just use free.

For example, bufrelease is now just hoedown_buffer_free. MKD_EXT_* is now just HOEDOWN_EXT_*.