Skip to content

Commit 3b72d10

Browse files
committed
增加 markdown 代码高亮
1 parent a46e06e commit 3b72d10

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

misc/upgrade-to-3.6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727

2828
比如:
2929

30-
```
30+
```js
3131
seajs.use('./index', 'jquery', function(Dialog, $) {
3232
new Dialog($('#el'));
3333
});
3434
```
3535

3636
要修改成:
3737

38-
```
38+
```js
3939
var Dialog = require('dialog');
4040
var $ = require('jquery');
4141

project/configuration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
所有参数:
77

8-
```
8+
```js
99
{
1010
"name": "",
1111
"version": "",
@@ -101,7 +101,7 @@ var $ = window['jQuery'];
101101

102102
默认值:
103103

104-
```
104+
```js
105105
{
106106
console: false,
107107
process: true,
@@ -155,7 +155,7 @@ var $ = window['jQuery'];
155155

156156
默认值:
157157

158-
```
158+
```js
159159
sourceMap: false,
160160
output: {
161161
ascii_only: true,
@@ -213,7 +213,7 @@ output: {
213213

214214
比如要对 js 文件做额外处理,处理的文件是 ./loader.js,那么配置:
215215

216-
```
216+
```js
217217
"loader": {
218218
".js": "+./loader"
219219
}
@@ -234,7 +234,7 @@ output: {
234234

235235
比如:
236236

237-
```
237+
```js
238238
"build": {
239239
"define": {"DEBUG":false}
240240
},
@@ -245,7 +245,7 @@ output: {
245245

246246
然后代码里:
247247

248-
```
248+
```js
249249
if (DEBUG) {
250250
console.log('debug mode');
251251
} else {

0 commit comments

Comments
 (0)