1.3.2 • Published 6 years ago

react-mark-highlight v1.3.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Installing

npm install react-mark-highlight -save

Basic usage

import React from 'react'
import ReactHighMark from 'react-mark-highlight'

const ContentBox = ({}) => {
  const content = `## Nice to meet you!`
  return(
    <div>
      <ReactHighMark source={content} style="diablo" />
    </div>
  )
}

export default ContentBox

Options

  • source - string The Markdown source to parse (require)
  • style - There are two styles to choose from: diablo and fresh. (default: fresh)

Developing

git clone git@github.com:Vincedream/react-mark-highlight.git
cd examples/testproject
npm install
npm start

License

MIT © Vince Hua

1.3.2

6 years ago

1.3.0

6 years ago

1.2.6

6 years ago

1.2.4

6 years ago

1.2.2

6 years ago

1.2.0

6 years ago

1.1.6

6 years ago

1.1.4

6 years ago

1.1.2

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago