armde
v0.1.5
Published
Awesome React Markdown Editor
Downloads
2
Readme
ARMDE
Awesome React Markdown Editor
Usage
To run the example app, run:
$ cd example
$ npm start1. 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 />
</>
);
}