@raketa-cms/raketa-markdown-input

1.1.8 • Public • Published

@raketa-cms/raketa-markdown-input

Markdown input for Raketa CMS

NPM JavaScript Style Guide

Install

yarn add @raketa-cms/raketa-markdown-input

Usage

import { MarkdownInput } from "@raketa-cms/raketa-markdown-input";

<MarkdownInput
  label="Text" // optional
  height="200px" // optional
  documentationLink="https://guides.github.com/features/mastering-markdown/" // optional
  value={value} // required
  onChange={setValue} //required
/>;

<div dangerouslySetInnerHTML={{ __html: toHTML(value) }} />;

License

MIT © studioraketa

Readme

Keywords

none

Package Sidebar

Install

npm i @raketa-cms/raketa-markdown-input

Weekly Downloads

0

Version

1.1.8

License

MIT

Unpacked Size

31.5 kB

Total Files

8

Last publish

Collaborators

  • studioraketa