Skip to content

Commit 5cc9fc5

Browse files
committed
Merge pull request #178 from toolness/patch-1
Add syntax highlighting in README.md
2 parents 9dfa2ff + 875fb12 commit 5cc9fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ of your code.
156156
Loading css and other resources is possible but you will need to make sure that
157157
you have defined the `require` function in a declaration file.
158158

159-
```
159+
```typescript
160160
declare var require: {
161161
<T>(path: string): T;
162162
(paths: string[], callback: (...modules: any[]) => void): void;
@@ -166,7 +166,7 @@ declare var require: {
166166
167167
Then you can simply require assets or chunks per the [webpack documentation](http://webpack.github.io/docs).
168168
169-
```
169+
```js
170170
require('!style!css!./style.css');
171171
```
172172

0 commit comments

Comments
 (0)