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

https://github.com/joaocnh/react-headless-markdown-editor

A React component for simple, customisable markdown editors.
https://github.com/joaocnh/react-headless-markdown-editor

component headless markdown markdown-editor markdown-editor-react react

Last synced: 11 months ago
JSON representation

A React component for simple, customisable markdown editors.

Awesome Lists containing this project

README

          

# react-headless-markdown-editor

## 👋 Intro

A React component for simple, customizable markdown editors.

This library lets you:

- Customize your editor however you see fit (it's Headless 🙈)
- Create custom controls
- Have a simple editor up & running in a few seconds

## 🚀 How to use

### Install

```bash
npm install -S react-headless-markdown-editor
# or
yarn add react-headless-markdown-editor
# or
pnpm i react-headless-markdown-editor
```

### Usage

With no styling options

```js
import { Editor } from "react-headless-markdown-editor";




;
```

But it's easy enough to add something.

I've made it work beautifully with normal css classes or tailwind.

```js
import { Editor } from "react-headless-markdown-editor";




;
```

Check out the [Demo](https://joaocnh.github.io/react-headless-markdown-editor/) for an example of styling

[Source Code](https://github.com/JoaoCnh/react-headless-markdown-editor/blob/main/src/App.tsx)