Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

(doc) README update

  • Loading branch information...
commit cebd9be81738af8b2cc64b8feb4e4713d785fdee 1 parent f6e9ed7
Alexis Sellier authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -14,8 +14,14 @@ it will skip those, cause they ain't no JavaScript.
usage
-----
+Put this at the end of your `<body>`:
+
<script src="hijs.js"></script>
+If you would like to specify what gets highlighted, set the global `hijs` variable before you include the script:
+
+ window.hijs = '.highlight';
+
example
-------
Please sign in to comment.
Something went wrong with that request. Please try again.