Repository is archived
A long-lived project that still receives updates
Deprecated in favor of the prosemirror gem. Takes ProseMirror compatible JSON and outputs HTML.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.3
~> 3.0
>= 0
~> 13.0

Runtime

 Project Readme

ProsemirrorToHtml

Warning

This gem is deprecated. Use prosemirror instead, from the same maintainers. It builds the HTML with Phlex, which escapes text and attribute values as it writes them, types attributes and only allows safe URL schemes, instead of building strings and cleaning them up afterwards. It also imports HTML and Markdown, and exports Markdown and text. See the migration guide.

This gem won't get new features.

Takes ProseMirror compatible JSON and outputs HTML.

Usage

ProsemirrorToHtml::Renderer.new.render(json)

License

The gem is available as open source under the terms of the MIT License.