Skip to content

Commit

Permalink
Merge pull request #178 from toolness/patch-1
Browse files Browse the repository at this point in the history
Add syntax highlighting in README.md
  • Loading branch information
jbrantly committed Apr 11, 2016
2 parents 9dfa2ff + 875fb12 commit 5cc9fc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ of your code.
Loading css and other resources is possible but you will need to make sure that
you have defined the `require` function in a declaration file.

```
```typescript
declare var require: {
<T>(path: string): T;
(paths: string[], callback: (...modules: any[]) => void): void;
Expand All @@ -166,7 +166,7 @@ declare var require: {
Then you can simply require assets or chunks per the [webpack documentation](http://webpack.github.io/docs).
```
```js
require('!style!css!./style.css');
```
Expand Down

0 comments on commit 5cc9fc5

Please sign in to comment.