0.1.2 • Published 8 years ago

react-markify v0.1.2

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

react-markify

React component to highlight words.

Most of the codes are borrowed from react-linkify.

Installation

$ npm install react-markify

Usage

Any target word that appears inside the Markify component will become highlighted.

<Markify targetWord="JavaScript">
  <span>React is a JavaScript library for building user interfaces.</span>
</Markify>