Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Converts markdown to prismic richtext objects.

License

Notifications You must be signed in to change notification settings

ueno-llc/markdown-to-prismic-richtext

Repository files navigation

Markdown to Prismic RichText

For when you're importing a bunch of markdown into a prismic richtext field. Based on the import docs from Prismic.io.

Usage

const convert = require('markdown-to-prismic-richtext');

const richText = convert(yourMarkdown);

// for example use prismic-dom to render

RichText.asHtml(richText);

Development

yarn test --watch

About

Converts markdown to prismic richtext objects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published