JSPM

@unified-myst/render-html

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21224F
  • License MIT

Utility for nested parsing of Markdown text

Package Exports

  • @unified-myst/render-html

Readme

@unified-myst/render-html

Extends @unified-myst/core-parse, to output HTML (via conversion to HAST).

import { ProcessorHtml } from '@unified-myst/render-html'

const processor = new ProcessorHtml()

console.log(processor.toHtml('Hallo world!'))
// => '<p>Hallo world!</p>'