2.0.1 • Published 9 years ago

apeman-react-markdown v2.0.1

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

apeman-react-markdown

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package to render markdowns

Installation

$ npm install apeman-react-markdown --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApMarkdown, ApMarkdownStyle} from 'apeman-react-markdown'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApMarkdownStyle />
        <ApMarkdown/>
      </div>
    )
  }
})

Components

ApMarkdown

Props

NameTypeDefaultDescription
srcstringnullSource text
linksobjectnullLink urls
beforeCompilefunc(value) => valueConverter before compile
afterCompilefunc(value) => valueConverter after compile

License

This software is released under the MIT License.

Links