@ueno/markdown-to-prismic-richtext
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @ueno/markdown-to-prismic-richtext

Weekly Downloads

149

Version

1.2.0

License

MIT

Unpacked Size

60.8 kB

Total Files

69

Last publish

Collaborators

  • magnearun
  • olafursverrir
  • birkir
  • ueno-personal