@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    164
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    164
  • 1.1.0
    0
  • 1.0.5
    0
  • 1.0.4
    0
  • 1.0.3
    0

Package Sidebar

Install

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

Weekly Downloads

164

Version

1.2.0

License

MIT

Unpacked Size

60.8 kB

Total Files

69

Last publish

Collaborators

  • magnearun
  • olafursverrir
  • birkir
  • ueno-personal