# md-styles

> A collection of base markdown styles and themes

Latest version **1.0.0** (published 2019-06-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install md-styles
pnpm add md-styles
yarn add md-styles
bun add md-styles
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-06-10 |
| First published | 2019-06-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | K-2052 |
| Maintainers | k2052 |
| Keywords | markdown, base, styles |

## Links

- npm: https://www.npmjs.com/package/md-styles
- Repository: https://github.com/k2052/md-styles
- Homepage: https://github.com/k2052/md-styles#readme
- Issues: https://github.com/k2052/md-styles/issues
- npm.io page: https://npm.io/package/md-styles

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads
- [datasets-fi-postalcodes](https://npm.io/package/datasets-fi-postalcodes.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-06-10

## README

# md-styles: Markdown css themes

A collection of css styles for markdown.

## Installation

Install using npm:

```sh
$ npm install --save md-styles
```

or yarn

```sh
yarn add md-styles
```

## Usage

All the themes are designed to be used as css modules, the styles for
everything are scoped to a `.markdownBody` class. Use it in JSX like
this:

```js
import mdStyles from "md-styles/themes/solarized-light.css";

const Markdown = ({markdown}) => {
  return (
      <div className={mdStyles.markdownBody} >
      {markdown}
      </div>
  )
}
```

And in CSS like this:

```css
.myMarkdownStyles {
  composes: className from "./md-styles/themes/solarized-light.css";
}
```

## Available Themes

- solarized-light

I'll add a bunch more soon! PRs welcome

## TODOS

- [ ] Add screenshots to README

## Is this useless?

It is mostly useless

## License

Licensed under ISC.

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