Skip to content

Commit 6358f19

Browse files
committed
fix: fix markdown lint issue.
1 parent 8ef5df7 commit 6358f19

File tree

5 files changed

+59
-56
lines changed

5 files changed

+59
-56
lines changed

.markdownlint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"MD024": false,
66
"MD033": false,
77
"MD040": false,
8+
"MD055": false,
9+
"MD056": false,
10+
"MD051": false,
811
"MD010": {
912
"code_blocks": true,
1013
"spaces_per_tab": 2

docs/google-chrome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Google Chrome 键盘快捷键备忘清单
5959
:- | -
6060
`(type)` `Enter` | 使用您的默认搜索引擎进行搜索
6161
`(type)` `Tab` | 使用不同的搜索引擎搜索
62-
`Ctrl` `Enter` | 添加 www. 和 .com 到站点名称,并在当前选项卡中打开
62+
`Ctrl` `Enter` | 添加 <www>. 和 .com 到站点名称,并在当前选项卡中打开
6363
`Alt` `Enter` | 打开新标签页并执行 Google 搜索
6464
`Ctrl` `L` | 跳转到地址栏
6565
`Ctrl` `K` | 从页面上的任何位置搜索

docs/make.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,5 +1027,5 @@ origin 函数用于告诉这个变量的从何而来
10271027
---
10281028

10291029
* [make 中文教程](https://seisman.github.io/how-to-write-makefile/overview.html) _(seisman.github.io)_
1030-
* [make 手册](https://www.gnu.org/software/make/manual/make.html#toc-Overview-of-make) _(www.gnu.org)_
1031-
* [make 官网](https://www.gnu.org/software/make/) _www.gnu.org_
1030+
* [make 手册](https://www.gnu.org/software/make/manual/make.html#toc-Overview-of-make) _(<www.gnu.org>)_
1031+
* [make 官网](https://www.gnu.org/software/make/) _<www.gnu.org>_

docs/matlab.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ c = 2×2 complex
198198

199199
### 输入命令
200200

201-
:- | :- | :-
202-
:- | :- | :-
201+
:- | :-
202+
:- | :-
203203
[ans](https://ww2.mathworks.cn/help/matlab/ref/ans.html) | 最近计算的答案
204204
[clc](https://ww2.mathworks.cn/help/matlab/ref/clc.html) | 清空命令行窗口
205205
[diary](https://ww2.mathworks.cn/help/matlab/ref/diary.html) | 将命令行窗口文本记录到日志文件中
@@ -221,8 +221,8 @@ c = 2×2 complex
221221

222222
创建和合并数组
223223

224-
:- | :- | :-
225-
:- | :- | :-
224+
:- | :-
225+
:- | :-
226226
[zeros](https://ww2.mathworks.cn/help/matlab/ref/zeros.html) | 创建全零数组
227227
[ones](https://ww2.mathworks.cn/help/matlab/ref/ones.html) | 创建全部为 1 的数组
228228
[rand](https://ww2.mathworks.cn/help/matlab/ref/rand.html) | 均匀分布的随机数
@@ -239,8 +239,8 @@ c = 2×2 complex
239239

240240
创建网格
241241

242-
:- | :- | :-
243-
:- | :- | :-
242+
:- | :-
243+
:- | :-
244244
[linspace](https://ww2.mathworks.cn/help/matlab/ref/linspace.html) | 生成线性间距向量
245245
[logspace](https://ww2.mathworks.cn/help/matlab/ref/logspace.html) | 生成对数间距向量
246246
[freqspace](https://ww2.mathworks.cn/help/matlab/ref/freqspace.html) | 频率响应的频率间距
@@ -249,8 +249,8 @@ c = 2×2 complex
249249

250250
确定大小、形状和排序
251251

252-
:- | :- | :-
253-
:- | :- | :-
252+
:- | :-
253+
:- | :-
254254
[length](https://ww2.mathworks.cn/help/matlab/ref/length.html) | 最大数组维度的长度
255255
[size](https://ww2.mathworks.cn/help/matlab/ref/size.html) | 数组大小
256256
[ndims](https://ww2.mathworks.cn/help/matlab/ref/double.ndims.html) | 数组维度数目
@@ -266,8 +266,8 @@ c = 2×2 complex
266266

267267
重构和重新排列
268268

269-
:- | :- | :-
270-
:- | :- | :-
269+
:- | :-
270+
:- | :-
271271
[sort](https://ww2.mathworks.cn/help/matlab/ref/sort.html) | 对数组元素排序
272272
[sortrows](https://ww2.mathworks.cn/help/matlab/ref/double.sortrows.html) | 对矩阵行或表行进行排序
273273
[flip](https://ww2.mathworks.cn/help/matlab/ref/flip.html) | 翻转元素顺序
@@ -285,8 +285,8 @@ c = 2×2 complex
285285

286286
索引
287287

288-
:- | :- | :-
289-
:- | :- | :-
288+
:- | :-
289+
:- | :-
290290
[colon](https://ww2.mathworks.cn/help/matlab/ref/colon.html) | 向量创建、数组下标和 <code class="literal">for</code> 循环迭代
291291
[end](https://ww2.mathworks.cn/help/matlab/ref/end.html) | 终止代码块或指示最大数组索引
292292
[ind2sub](https://ww2.mathworks.cn/help/matlab/ref/ind2sub.html) | 将线性索引转换为下标
@@ -297,8 +297,8 @@ c = 2×2 complex
297297

298298
创建数值变量
299299

300-
:- | :- | :-
301-
:- | :- | :-
300+
:- | :-
301+
:- | :-
302302
[double](https://ww2.mathworks.cn/help/matlab/ref/double.html) | 双精度数组
303303
[single](https://ww2.mathworks.cn/help/matlab/ref/single.html) | 单精度数组
304304
[int8](https://ww2.mathworks.cn/help/matlab/ref/int8.html) | 8 位有符号整数数组
@@ -312,15 +312,15 @@ c = 2×2 complex
312312

313313
在数值类型之间转换
314314

315-
:- | :- | :-
316-
:- | :- | :-
315+
:- | :-
316+
:- | :-
317317
[cast](https://ww2.mathworks.cn/help/matlab/ref/cast.html) | 将变量转换为不同的数据类型
318318
[typecast](https://ww2.mathworks.cn/help/matlab/ref/typecast.html) | 在不更改基础数据的情况下转换数据类型
319319

320320
查询类型和值
321321

322-
:- | :- | :-
323-
:- | :- | :-
322+
:- | :-
323+
:- | :-
324324
[allfinite](https://ww2.mathworks.cn/help/matlab/ref/allfinite.html") | Determine if all array elements are finite
325325
[anynan](https://ww2.mathworks.cn/help/matlab/ref/anynan.html") | Determine if any array element is NaN
326326
[isinteger](https://ww2.mathworks.cn/help/matlab/ref/isinteger.html) | 确定输入是否为整数数组
@@ -333,8 +333,8 @@ c = 2×2 complex
333333

334334
数值范围
335335

336-
:- | :- | :-
337-
:- | :- | :-
336+
:- | :-
337+
:- | :-
338338
[eps](https://ww2.mathworks.cn/help/matlab/ref/eps.html) | 浮点相对精度
339339
[flintmax](https://ww2.mathworks.cn/help/matlab/ref/flintmax.html) | 浮点格式的最大连续整数
340340
[Inf](https://ww2.mathworks.cn/help/matlab/ref/inf.html) | 创建所有值均为 `Inf` 的数组
@@ -363,26 +363,26 @@ c = 2×2 complex
363363

364364
### 字符串数组
365365

366-
:- | :- | :-
367-
:- | :- | :-
366+
:- | :-
367+
:- | :-
368368
[string](https://ww2.mathworks.cn/help/matlab/ref/string.html) | 字符串数组
369369
[strings](https://ww2.mathworks.cn/help/matlab/ref/strings.html) | 创建不包含字符的字符串数组
370370
[join](https://ww2.mathworks.cn/help/matlab/ref/join.html) | 合并字符串
371371
[plus](https://ww2.mathworks.cn/help/matlab/ref/plus.html) | 添加数字,追加字符串
372372

373373
### 字符数组
374374

375-
:- | :- | :-
376-
:- | :- | :-
375+
:- | :-
376+
:- | :-
377377
[char](https://ww2.mathworks.cn/help/matlab/ref/char.html) | 字符数组
378378
[cellstr](https://ww2.mathworks.cn/help/matlab/ref/cellstr.html) | 转换为字符向量元胞数组
379379
[blanks](https://ww2.mathworks.cn/help/matlab/ref/blanks.html) | 创建空白字符数组
380380
[newline](https://ww2.mathworks.cn/help/matlab/ref/newline.html) | 创建换行符
381381

382382
### 字符或字符串数组
383383

384-
:- | :- | :-
385-
:- | :- | :-
384+
:- | :-
385+
:- | :-
386386
[compose](https://ww2.mathworks.cn/help/matlab/ref/compose.html) | 将数据格式化为多个字符串
387387
[sprintf](https://ww2.mathworks.cn/help/matlab/ref/sprintf.html) | 将数据格式化为字符串或字符向量
388388
[strcat](https://ww2.mathworks.cn/help/matlab/ref/strcat.html) | 水平串联字符串
@@ -399,8 +399,8 @@ c = 2×2 complex
399399

400400
### 字符或字符串 - 在数值和字符串之间转换
401401

402-
:- | :- | :-
403-
:- | :- | :-
402+
:- | :-
403+
:- | :-
404404
[double](https://ww2.mathworks.cn/help/matlab/ref/double.html) | 双精度数组
405405
[string](https://ww2.mathworks.cn/help/matlab/ref/string.html) | 字符串数组
406406
[str2double](https://ww2.mathworks.cn/help/matlab/ref/str2double.html) | 将字符串转换为双精度值
@@ -411,17 +411,17 @@ c = 2×2 complex
411411

412412
数据类型
413413

414-
:- | :- | :-
415-
:- | :- | :-
414+
:- | :-
415+
:- | :-
416416
[ischar](https://ww2.mathworks.cn/help/matlab/ref/ischar.html) | 确定输入是否为字符数组
417417
[iscellstr](https://ww2.mathworks.cn/help/matlab/ref/iscellstr.html) | 确定输入是否为字符向量元胞数组
418418
[isstring](https://ww2.mathworks.cn/help/matlab/ref/isstring.html) | 确定输入是否为字符串数组
419419
[isStringScalar](https://ww2.mathworks.cn/help/matlab/ref/isstringscalar.html) | 确定输入是否为包含一个元素的字符串数组
420420

421421
文本属性
422422

423-
:- | :- | :-
424-
:- | :- | :-
423+
:- | :-
424+
:- | :-
425425
[strlength](https://ww2.mathworks.cn/help/matlab/ref/strlength.html) | 字符串长度
426426
[isstrprop](https://ww2.mathworks.cn/help/matlab/ref/isstrprop.html) | 确定输入字符串中的哪些字符属于指定类别
427427
[isletter](https://ww2.mathworks.cn/help/matlab/ref/isletter.html) | 确定哪些字符为字母
@@ -432,8 +432,8 @@ c = 2×2 complex
432432

433433
查找
434434

435-
:- | :- | :-
436-
:- | :- | :-
435+
:- | :-
436+
:- | :-
437437
[contains](https://ww2.mathworks.cn/help/matlab/ref/contains.html) | 确定字符串中是否有模式
438438
[matches](https://ww2.mathworks.cn/help/matlab/ref/matches.html) | 确定模式是否与字符串匹配
439439
[count](https://ww2.mathworks.cn/help/matlab/ref/count.html) | 计算字符串中模式的出现次数
@@ -444,22 +444,22 @@ c = 2×2 complex
444444

445445
替换
446446

447-
:- | :- | :-
448-
:- | :- | :-
447+
:- | :-
448+
:- | :-
449449
[replace](https://ww2.mathworks.cn/help/matlab/ref/replace.html) | 查找并替换一个或多个子字符串
450450
[replaceBetween](https://ww2.mathworks.cn/help/matlab/ref/replacebetween.html) | 替换起点和终点之间的子字符串
451451
[strrep](https://ww2.mathworks.cn/help/matlab/ref/strrep.html) | 查找并替换子字符串
452452

453453
### 字符串匹配模式 - 构建模式
454454

455-
:- | :- | :-
456-
:- | :- | :-
455+
:- | :-
456+
:- | :-
457457
[pattern](https://ww2.mathworks.cn/help/matlab/ref/pattern.html) | 用于搜索和匹配文本的模式
458458

459459
### 字符串匹配模式 - 字符匹配模式
460460

461-
:- | :- | :-
462-
:- | :- | :-
461+
:- | :-
462+
:- | :-
463463
[alphanumericsPattern](https://ww2.mathworks.cn/help/matlab/ref/alphanumericspattern.html) | 匹配字母和数字字符
464464
[characterListPattern](https://ww2.mathworks.cn/help/matlab/ref/characterlistpattern.html) | 匹配列表中的字符
465465
[digitsPattern](https://ww2.mathworks.cn/help/matlab/ref/digitspattern.html) | 匹配数字字符
@@ -469,8 +469,8 @@ c = 2×2 complex
469469

470470
### 字符串匹配模式 - 模式搜索规则
471471

472-
:- | :- | :-
473-
:- | :- | :-
472+
:- | :-
473+
:- | :-
474474
[optionalPattern](https://ww2.mathworks.cn/help/matlab/ref/optionalpattern.html) | 使模式匹配可选
475475
[possessivePattern](https://ww2.mathworks.cn/help/matlab/ref/possessivepattern.html) | 匹配模式而不回溯
476476
[caseSensitivePattern](https://ww2.mathworks.cn/help/matlab/ref/casesensitivepattern.html) | 以区分大小写的方式匹配模式
@@ -495,15 +495,15 @@ c = 2×2 complex
495495

496496
### 字符串匹配模式 - 自定义模式显示
497497

498-
:- | :- | :-
499-
:- | :- | :-
498+
:- | :-
499+
:- | :-
500500
[maskedPattern](https://ww2.mathworks.cn/help/matlab/ref/maskedpattern.html) | 具有指定显示名称的模式
501501
[namedPattern](https://ww2.mathworks.cn/help/matlab/ref/namedpattern.html) | 指定命名模式
502502

503503
### 字符串匹配模式 - 正则表达式
504504

505-
:- | :- | :-
506-
:- | :- | :-
505+
:- | :-
506+
:- | :-
507507
[regexp](https://ww2.mathworks.cn/help/matlab/ref/regexp.html) | 匹配正则表达式(区分大小写)
508508
[regexpi](https://ww2.mathworks.cn/help/matlab/ref/regexpi.html) | 匹配正则表达式(不区分大小写)
509509
[regexprep](https://ww2.mathworks.cn/help/matlab/ref/regexprep.html) | 使用正则表达式替换文本
@@ -512,8 +512,8 @@ c = 2×2 complex
512512

513513
### 字符串匹配模式 - 联接和拆分
514514

515-
:- | :- | :-
516-
:- | :- | :-
515+
:- | :-
516+
:- | :-
517517
[join](https://ww2.mathworks.cn/help/matlab/ref/join.html) | 合并字符串
518518
[plus](https://ww2.mathworks.cn/help/matlab/ref/plus.html) | 添加数字,追加字符串
519519
[split](https://ww2.mathworks.cn/help/matlab/ref/split.html) | 在分隔符处拆分字符串
@@ -529,8 +529,8 @@ c = 2×2 complex
529529
### 字符串编辑
530530
<!--rehype:wrap-class=row-span-2-->
531531

532-
:- | :- | :-
533-
:- | :- | :-
532+
:- | :-
533+
:- | :-
534534
[erase](https://ww2.mathworks.cn/help/matlab/ref/erase.html) | 删除字符串内的子字符串
535535
[eraseBetween](https://ww2.mathworks.cn/help/matlab/ref/erasebetween.html) | 删除起点和终点之间的子字符串
536536
[extract](https://ww2.mathworks.cn/help/matlab/ref/extract.html) | 从字符串中提取子字符串
@@ -550,8 +550,8 @@ c = 2×2 complex
550550

551551
### 字符串比较
552552

553-
:- | :- | :-
554-
:- | :- | :-
553+
:- | :-
554+
:- | :-
555555
[matches](https://ww2.mathworks.cn/help/matlab/ref/matches.html) | 确定模式是否与字符串匹配
556556
[strcmp](https://ww2.mathworks.cn/help/matlab/ref/strcmp.html) | 比较字符串
557557
[strcmpi](https://ww2.mathworks.cn/help/matlab/ref/strcmpi.html) | 比较字符串(不区分大小写)

docs/nginx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ server {
316316
### 重定向(301永久)
317317
<!--rehype:wrap-class=row-span-2-->
318318

319-
www.example.com 重定向到 example.com
319+
<www.example.com> 重定向到 example.com
320320

321321
```nginx
322322
server {

0 commit comments

Comments
 (0)