Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhrk committed Oct 26, 2018
1 parent 4608dba commit 2a52d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Wrap-with-tag provides a simple function to wrap string with html.

## Description

Wrap-with-tag provides function wrapping specific word with html tag assigned with certain class.
Wrap-with-tag provides a function wrapping specific word with html tag assigned with certain class.
The use case is to wrap specific word, like a company name, with a span element assigned with class for applying font-family.

## Install

```
$ yarn add wrap-with-tag -d
$ yarn add wrap-with-tag
```

or
Expand All @@ -40,7 +40,7 @@ wrapWithTag({
Alternatively, you can use `script` tag with html file.

```html
<script src="node_modules/wrap-with-tag/dist/ariaset.js">
<script src="node_modules/wrap-with-tag/dist/index.js">
<script>
wrapWithTag({
regexp: /Company Name/g,
Expand Down

0 comments on commit 2a52d39

Please sign in to comment.