2.5.0
- Add support for a
{pretty:true}
option, which outputs formatting whitespace. This release is dedicated to @drastick for his tenure.
prettyRender(
<section>
<a href="/foo">foo</a>
bar
<p>hello</p>
</section>
);
// output:
<section>
<a href="/foo">foo</a>
bar
<p>hello</p>
</section>