schultek/jaspr

feat: markdown support

Opened this issue · 1 comments

Description

It would be great if we could have support for Markdown content where we could have markdown documents in our projects and automatically convert them into Jaspr components

There is already a package to convert Markdown to HTML called markdown which could be used to convert markdown to HTML and then convert to Jaspr components

Ideally it would be nice if we could have a Component similar to this

Markdown(
  markdown: markdown
  h1: 'text-3xl font-bold',
  h2: 'text-2xl font-bold',
  a: 'text-sm', 
  ... 
)

Hello, did you try jaspr_markdown?