Skip to content

Repository files navigation

preact-comark

Purpose

Render Comark markdown in Preact, with support for custom components, named slots, and incremental streaming updates.

Installation

pnpm add preact preact-comark

Quick Example

import { Comark } from 'preact-comark'

const markdown = `
# Hello

- markdown
- components
- streaming
`

export function App() {
  return <Comark markdown={markdown} />
}

Documentation Map

About

Preact components for Comark

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages