UNPKG

hyper-readings

Version:

a tool for making and sharing p2p distributed reading lists

10 lines (7 loc) 197 B
import marked from 'marked' import htmlImporter from './html' function markdownImporter (hr, text) { const html = marked(text) return htmlImporter(hr, html) } export default markdownImporter