open-index/open-npm huggingface dataset:
npm package: @sigle/slate-to-html
Description: This package converts a Slate 0.47 JSON representation to HTML.
Latest version: 1.0.0

# @sigle/slate-to-html

This package converts a Slate 0.47 JSON representation to HTML.

## Usage

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

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

const html = generateHtml(slateJSON);
```
npm package: @sigle/slate-to-markdown
Description: This package converts a Slate 0.47 JSON representation to a Markdown document.
Latest version: 0.4.3

# @sigle/slate-to-markdown

This package converts a Sigle story Slate 0.47 JSON representation to a Markdown document. Before storing plain markdown, Sigle used to store stories in a JSON format.

## Usage

```ts
import { convert } from '@sigle/slate-to-markdown';

const slateJSON = [
  // ... Slate Sigle nodes JSON
];

const markdown = convert(slateJSON);
```