Files
tiptap/docs/src/docPages/api/utilities/html.md
2021-04-21 15:31:11 +02:00

12 lines
576 B
Markdown

# HTML
[![Version](https://img.shields.io/npm/v/@tiptap/html.svg?label=version)](https://www.npmjs.com/package/@tiptap/html)
[![Downloads](https://img.shields.io/npm/dm/@tiptap/html.svg)](https://npmcharts.com/compare/@tiptap/html?minimal=true)
The utility helps rendering JSON content as HTML without an editor instance, for example on the server side. All it needs is a JSON and an array of extensions.
## Source code
[packages/html/](https://github.com/ueberdosis/tiptap/blob/main/packages/html/)
## Usage
<demo name="Guide/Content/GenerateHTML" highlight="6-7,42-48"/>