Examples

HTML + TypeScript

This example shows the most basic usage of the library. The code handles only a limited set of node type for demonstration purpose.

React + TypeScript

This example shows how to construct React node without using dangerouslySetInnerHTML. The code handles only a limited set of node type for demonstration purpose.