Skip to content

Commit

Permalink
Merge pull request #29 from davidchambers/readme
Browse files Browse the repository at this point in the history
readme: enable highlighting of code blocks
  • Loading branch information
davidchambers authored Mar 26, 2018
2 parents 965bb9d + fc71466 commit 6fd712d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,23 @@ The equivalent concatenation:

1. Install:

$ npm install string-format
```console
$ npm install string-format
```

2. Require:

var format = require('string-format')
```javascript
var format = require('string-format')
```

#### Browser

1. Define `window.format`:

<script src="path/to/string-format.js"></script>
```html
<script src="path/to/string-format.js"></script>
```

### Modes

Expand Down

0 comments on commit 6fd712d

Please sign in to comment.