Skip to content

Commit 383c773

Browse files
Merge pull request #70 from OmgImAlexis/master
fix syntax highlighting
2 parents 38a908c + e04ad70 commit 383c773

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ console.log(styles.someClass); // prints Test__someClass___2Frqu
3838

3939
## Installation
4040

41-
```
41+
```console
4242
npm install --save-dev babel-plugin-css-modules-transform
4343
```
4444

@@ -96,7 +96,7 @@ npm install --save-dev babel-plugin-css-modules-transform
9696
When using this plugin with a preprocessor, you'll need to configure it as such:
9797

9898

99-
```
99+
```js
100100
// ./path/to/module-exporting-a-function.js
101101
var sass = require('node-sass');
102102
var path = require('path');
@@ -113,7 +113,7 @@ module.exports = function processSass(data, filename) {
113113

114114
and then add any relevant extensions to your plugin config:
115115

116-
```
116+
```js
117117
{
118118
"plugins": [
119119
[
@@ -142,7 +142,7 @@ instead.
142142

143143
To combine all css files in a single file, give its name:
144144

145-
```
145+
```js
146146
{
147147
"plugins": [
148148
[
@@ -156,7 +156,7 @@ To combine all css files in a single file, give its name:
156156

157157
To extract all files in a single directory, give an object:
158158

159-
```
159+
```js
160160
{
161161
"plugins": [
162162
[

0 commit comments

Comments
 (0)