Skip to content

This package converts a Sigle story Slate 0.47 JSON representation to a Markdown document.

License

Notifications You must be signed in to change notification settings

sigle/slate-to-markdown

Repository files navigation

@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

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

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

const markdown = convert(slateJSON);

About

This package converts a Sigle story Slate 0.47 JSON representation to a Markdown document.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages