dorkhub

brilliant

Brilliant is a WYSIWYG markdown editor with live preview support, based on Draft-js and React, implemented in TypeScrip…

brilliant-js
TypeScript11413 forksMITupdated 5 years ago
visit the demogit clone https://github.com/brilliant-js/brilliant.gitbrilliant-js/brilliant

English | 简体中文

Brilliant Editor-EN

Brilliant is a WYSIWYG markdown editor with live preview support, based on Draft-js and React, implemented in TypeScript. It's compatible with popular browsers.

usage demo

Installation

# Install using yarn
yarn add brilliant-editor
# Install using npm
npm install brilliant-editor --save

Example Usage

import React from 'react';
import Brilliant from 'brilliant-editor';
import 'brilliant-editor/dist/index.css';

const App = () => {
  return (
    <div>
      <Brilliant language="en"/>
    </div>
  );
};

export default App;

Browsers support

Modern browsers.

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Edge last 2 versions last 2 versions last 2 versions last 2 versions

Thanks

more like this

markItDown

📱 A React app to preview and edit Markdown✍. You can also export it as HTML.

JavaScript51

search

search projects, people, and tags