1.0.1 • Published 3 years ago

@atomico/markdown v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@atomico/markdown

Default package @uppercod/markdown-inline for Atomico

Install

npm install @atomico/markdown

Example

import { c } from "atomico";
import md from "@atomico/markdown";

function component() {
    return (
        <host>{md`
            # Title

            Markdown content:

            **bold**

            _italic_

            | col     | col     |
            | ------- | ------- |
            | Value 1 | value 2 |

            and more
        `}</host>
    );
}

customElements.define("my-component", c(component));