@stickyboard/markdown

0.1.1 • Public • Published

stickyboard-markdown

Markdown component for StickyBoard

Version Downloads/week License

Webpack watch

$ npm start

Build

$ npm run build

Basic usage

import { Markdown } from '@stickyboard/markdown';

function MarkdownUsage() {
    const content = '# header1\n## header2\n### header3';

    return (
        <Markdown
            editable
            content={content}
            onSave={(content) => {
                // TODO: Save your content
            }}
        />
    );
}

License

This project is licenced under the MIT License.

/@stickyboard/markdown/

    Package Sidebar

    Install

    npm i @stickyboard/markdown

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    120 kB

    Total Files

    6

    Last publish

    Collaborators

    • soaple