From 875fb125a4720bee68e0e30085dc44456c4eb9e1 Mon Sep 17 00:00:00 2001 From: Atul Varma Date: Thu, 7 Apr 2016 05:11:27 -0400 Subject: [PATCH] add syntax highlighting in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a34e1762b..92eda6e60 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,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: { (path: string): T; (paths: string[], callback: (...modules: any[]) => void): void; @@ -160,7 +160,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'); ```