Skip to content

Commit 7f0652e

Browse files
committed
Use Prism for highlighting source code in docs
1 parent 9c01530 commit 7f0652e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

book.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"structure": {
44
"summary": "docs/README.md"
55
},
6-
"plugins": ["edit-link"],
6+
"plugins": ["edit-link", "prism"],
77
"pluginsConfig": {
88
"edit-link": {
99
"base": "https://github.com/rackt/redux/tree/master",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"eslint-plugin-react": "^3.2.3",
6161
"expect": "^1.8.0",
6262
"gitbook-cli": "^0.3.4",
63+
"gitbook-plugin-prism": "^0.1.1",
6364
"isparta": "^3.0.3",
6465
"mocha": "^2.2.5",
6566
"rimraf": "^2.3.4",

0 commit comments

Comments
 (0)