0.1.5 • Published 2 years ago

armde v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ARMDE

Awesome React Markdown Editor

Usage

To run the example app, run:

$ cd example
$ npm start

1. Using ArmdeWrapper

import { ArmdeWrapper } from 'armde';

function App() {
  return <ArmdeWrapper />;
}

2. Using ArmdeWrapper with no style

import { ArmdeWrapper } from 'armde';

function App() {
  return <ArmdeWrapper noStyle />;
}

3. Using ArmdeEditor and ArmdeViewer

import { ArmdeEditor, ArmdeViewer, ArmdeConnection } from 'armde';

function App() {
  const connection = new ArmdeConnection();
  return (
    <>
      <ArmdeEditor connection={connection} />
      <ArmdeViewer connection={connection} />
    </>
  );
}

4. Using ArmdeEditor and ArmdeViewer with no style

import { ArmdeEditor, ArmdeViewer, ArmdeConnection } from 'armde';

function App() {
  const connection = new ArmdeConnection();
  return (
    <>
      <ArmdeEditor connection={connection} noStyle />
      <ArmdeViewer connection={connection} noStyle />
    </>
  );
}
0.1.4

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago