Skip to content

This package converts a Slate 0.47 JSON representation to HTML.

License

Notifications You must be signed in to change notification settings

sigle/slate-to-html

Repository files navigation

@sigle/slate-to-html

This package converts a Slate 0.47 JSON representation to HTML.

Usage

import { generateHtml } from '@sigle/slate-to-html';

const slateJSON = {
  // ... Slate Sigle JSON
};

const html = generateHtml(slateJSON);