https://github.com/atomicojs/markdown
https://github.com/atomicojs/markdown
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atomicojs/markdown
- Owner: atomicojs
- Created: 2021-03-17T04:43:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T04:56:35.000Z (over 5 years ago)
- Last Synced: 2025-04-30T00:34:36.156Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @atomico/markdown
Default package @uppercod/markdown-inline for Atomico
## Install
```
npm install @atomico/markdown
```
## Example
```jsx
import { c } from "atomico";
import md from "@atomico/markdown";
function component() {
return (
{md`
# Title
Markdown content:
**bold**
_italic_
| col | col |
| ------- | ------- |
| Value 1 | value 2 |
and more
`}
);
}
customElements.define("my-component", c(component));
```