Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc for language updates, bump highlight version. #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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