alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Banzai::Renderer.render
Convert a Markdown String into an HTML-safe String of HTML Note that while the returned HTML will have been sanitized of dangerous HTML, it may post a risk of information leakage if it's not also passed through `post_process`. Also note that the returned String is always HTML, not XHTML. Views requiring XHTML, such as Atom feeds, need to call `post_process` on the result, providing the appropriate `pipeline` option. text - Markdown String context - Hash of context options passed to our HTML Pipeline Returns an HTML-safe String
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Banzai--Renderer-render-for-pr
# Commit to gitgit add git commit -m "better docs for Banzai::Renderer.render"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Banzai--Renderer-render-for-pr
hub pull-request
# Celebrate!