brilliant-js / brilliant

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.

Home Page:https://brilliant-js.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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.

https://brilliant-js.com

License:MIT License


Languages

Language:TypeScript 88.3%Language:SCSS 7.0%Language:CSS 3.9%Language:JavaScript 0.7%Language:HTML 0.2%