Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reekoheek/xin-markdown


https://github.com/reekoheek/xin-markdown

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

---
title: xin-markdown
---

Markdown components for xin.

`xin-markdown` are components that render markdown directly.

```sh
npm i xin-markdown
```

## Usage

Supposedly we have markdown file `index.md`

```markdown
---
title: Lorem Ipsum
---

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula
eget dolor.

Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu,
pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla
vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a,
venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer
tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend
tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.

```

### View

Write html file `index.html`

```html




xin-markdown-view








```

### Pane

Write inside html file `index.html`

```html
...

...
```