Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# react-highlight

React component for syntax highlighting using highlight.js
React component for syntax highlighting using [highlight.js](https://github.com/highlightjs/highlight.js)

![Build Status](https://travis-ci.org/akiran/react-highlight.svg?branch=master)

Expand Down Expand Up @@ -66,3 +66,7 @@ This is especially usefull if html with multiple code snippets is generated from
{"html with multiple code snippets"}
</Highlight>
```

### Adding Additional Language Support

All language highlighting support comes from [highlight.js](https://github.com/highlightjs/highlight.js). Changes must be merged and released there before they are supported in react-highlight. When a new highlight.js version has been released, submit a PR or issue to bump the dependency version.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"homepage": "https://github.com/akiran/react-highlight",
"dependencies": {
"highlight.js": "^9.11.0"
"highlight.js": "^9.12.0"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
Expand Down