Skip to content

2.5.0

Compare
Choose a tag to compare
@developit developit released this 04 May 18:24
· 571 commits to main since this release
  • 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>