# solidown

> A high performance markdown component for SolidJS

Latest version **1.2.0** (published 2021-12-28) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install solidown
pnpm add solidown
yarn add solidown
bun add solidown
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2021-12-28 |
| First published | 2021-10-30 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 10 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yellowsink <yellowsink@protonmail.com> (https://yellowsink.vercel.app/) |
| Maintainers | yellowsink |
| Keywords | markdown, remarkable, solid, solidjs, solid-markdown, commonmark, component |

## Links

- npm: https://www.npmjs.com/package/solidown
- Repository: github:yellowsink/solidown
- Homepage: https://yellowsink.vercel.app/solidown
- npm.io page: https://npm.io/package/solidown

## Dependencies (1)

- [remarkable](https://npm.io/package/remarkable.md) ^2.0.1

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2021-12-28
- 1.1.1 — 2021-12-13
- 1.1.0 — 2021-12-13
- 1.0.2 — 2021-10-30
- 1.0.1 — 2021-10-30
- 1.0.0 — 2021-10-30

## README

# Solidown

A high performance markdown component for SolidJS

## Installation
```
npm i solidown
```

## Usage & Examples
```jsx
import Solidown from "solidown"

// simple markdown renderer
<Solidown>
# Test
**bold *and italic***
</Solidown>

// rendering from URL
<Solidown src="https://raw.githubusercontent.com/yellowsink/solidown/master/README.md" />

// with custom loading text
<Solidown
    src=""
    loading="Grabbing markdown, pls wait..."
    />

// with custom loading DOM (using tailwind here to make styles simpler but thats unrelated)
<Solidown
    src=""
    loading={(
        <div class="text-4xl text-center italic">Loading</div>
    )}
    />

// with extra styles
<Solidown
    css={`
        #solidown-markdown-root h1 {
            text-decoration-line: underline;
        }
    `}>
# Test
**bold *and italic***
</Solidown>
```

---
_Source: https://npm.io/package/solidown · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
