@tsei/mdmd
v2.1.2
Published
React Ⅿarkⅾown with Ⅿaterial Ⅾesign
Downloads
28
Maintainers
Readme
Table of Contents
Demo
Version
- React 16.12.0
- MDB React 4.26.0
- React Markdown ^4.3.1
Simple Example
import Mdmd from 'mdmd';
import MyText from './MyText.md';
const App =()=> <Mdmd md={MyText}/>
Quick Started
git clone https://github.com/tseijp/mdmd
npm i -D
npm start
- open browser and visit http://localhost:3000
- Now you can go to our demo, and try its usage.
Install via npm
- create your project -
create-react-app myproject
cd myproject
npm i @tsei/mdmd mdbreact -S
- Import style files into the src/index.js before the App.js file:
import '@fortawesome/fontawesome-free/css/all.min.css';
import 'bootstrap-css-only/css/bootstrap.min.css';
import 'mdbreact/dist/css/mdb.css';