mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-24 01:17:50 +08:00
17 lines
723 B
Markdown
17 lines
723 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, and generating JSON from HTML, without an editor instance, for example on the server side.
|
|
|
|
All it needs is JSON or a HTML string, and a list of extensions.
|
|
|
|
## Source code
|
|
[packages/html/](https://github.com/ueberdosis/tiptap/blob/main/packages/html/)
|
|
|
|
## Generate HTML from JSON
|
|
https://embed.tiptap.dev/preview/GuideContent/GenerateHTML
|
|
|
|
## Generate JSON from HTML
|
|
https://embed.tiptap.dev/preview/GuideContent/GenerateJSON
|