UNPKG

tiny-react-markdown

Version:
41 lines (24 loc) 2.24 kB
# Tiny React Markdown <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 40px"/> [![test](https://github.com/react18-tools/tiny-react-markdown/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/tiny-react-markdown/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/tiny-react-markdown/maintainability) [![codecov](https://codecov.io/gh/react18-tools/tiny-react-markdown/graph/badge.svg)](https://codecov.io/gh/react18-tools/tiny-react-markdown) [![Version](https://img.shields.io/npm/v/tiny-react-markdown.svg?colorB=green)](https://www.npmjs.com/package/tiny-react-markdown) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/tiny-react-markdown.svg)](https://www.npmjs.com/package/tiny-react-markdown) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/tiny-react-markdown) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/) Tiny React Markdown is a tiny react markdown component. - [x] safe by default (no dangerouslySetInnerHTML or XSS attacks) - [x] components (pass your own component to use instead of <h2> for ## hi) > <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 20px"/> Please consider starring [this repository](https://github.com/react18-tools/tiny-react-markdown) and sharing it with your friends. ## Getting Started ### Installation ```bash pnpm add tiny-react-markdown ``` **_or_** ```bash npm install tiny-react-markdown ``` **_or_** ```bash yarn add tiny-react-markdown ``` ## License This library is licensed under the MPL-2.0 open-source license. > <img src="https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png" style="height: 20px"/> Please consider enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsoring](https://github.com/sponsors/mayank1513) our work. <hr /> <p align="center" style="text-align:center">with 💖 by <a href="https://mayank-chaudhari.vercel.app" target="_blank">Mayank Kumar Chaudhari</a></p>