This package has been deprecated

Author message:

Please use solid-markdown

@zentered/solid-markdown
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

SolidJS version of react-markdown

The implementation is 90% shamelessly copied from https://github.com/remarkjs/react-markdown.

Changes include:

  • Replacing React specific component creation with SolidJS components
  • Porting the implementation from javascript with JSDoc types to typescript

Please check the original repo for in-depth details on how to use.

Installation

npm install solid-markdown

Usage

import SolidMarkdown from 'solid-markdown'

const markdown = `
# This is a title

- here's
- a
- list
`
const App = () => {
  return <SolidMarkdown children={markdown} />
}

TODO

  • [ ] Port unit tests from from original library

Package Sidebar

Install

npm i @zentered/solid-markdown

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

550 kB

Total Files

9

Last publish

Collaborators

  • patrickheneise