Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ angular.module('myApp', ['hljs']);
## Install with npm

```sh
npm install highlight.js
npm install angular-highlightjs
npm install --save highlight.js
npm install --save angular-highlightjs
```

## Install with Bower

There's currently no official bower package of highlight.js ([see here](https://github.com/isagalaev/highlight.js/issues/182#issuecomment-29251147)). You should either build highlight.js yourself or use the [pre-built one on cdnjs](https://cdnjs.com/libraries/highlight.js).

```sh
bower install angular-highlightjs
bower install --save highlightjs
bower install --save angular-highlightjs
```

## Configuration
Expand Down