Skip to content

Instantly share code, notes, and snippets.

View ethancalvo's full-sized avatar

Ethan Calvert ethancalvo

View GitHub Profile
@ethancalvo
ethancalvo / pd-rt-repeat.js
Created August 6, 2020 17:02
Prismic-Dom RichText.asHtml on a SliceZone creates html that lacks urls in anchor tags.
/*
prismic-dom ^2.2.3
the json was produced using
prismic-javascript ^2.7.1
*/
const prismicDom = require('prismic-dom');