File tree Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Expand file tree Collapse file tree 3 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 1
1
2
2
serve :
3
- zine
3
+ zine --port 1313
4
4
5
5
lint :
6
6
npx @lint-md/cli ** /*
Original file line number Diff line number Diff line change 44
44
45
45
在本仓库的 [release 页面](https://github.com/zigcc/zigcc.github.io/releases)会定期将本教程导出为 PDF 格式,读者可按需下载。
46
46
47
- ```html
48
- <!-- TODO -->
49
- <!-- 读者也可以使用右侧导航栏中的『[整节打印](_print)』将当前版本教程保存为 PDF 格式。 -->
50
- ```
51
-
52
47
# [其他学习资料]($section.id('other-learning-resources'))
53
48
54
49
由于 Zig 目前还处于快速迭代,因此最权威的资料无疑是官方的 [Zig Language Reference](https://ziglang.org/documentation/master/),遇到语言的细节问题,基本都可以在这里找到答案。其次是社区的一些高质量教程,例如:
Original file line number Diff line number Diff line change 6
6
<body id="body">
7
7
<h1 :text="$page.title"></h1>
8
8
<div id="meta" :if="$page.isSection().not()">
9
- <p :text="$page.date.format('January 02, 2006')"></p>
9
+ <p :text="$page.date.format('2006-01-03 ')"></p>
10
10
<p :text="$page.author" id="author"></p>
11
11
</div>
12
12
<ul :loop="$page.subpages()">
13
- <a href="$loop.it.link()" >
14
- <li >
15
- <span :if ="$page.custom.getOr('showTocDate', true)" >
16
- <span :text="$loop.it.date.format('06-01-03')"></span>
17
-
18
- </span >
13
+ <li >
14
+ <i :if="$page.custom.getOr('showTocDate', true)" >
15
+ <time datetime ="$loop.it.date.format('2006-01-03')" :text="$loop.it.date.format('2006-01-03')"></time >
16
+
17
+ </i>
18
+ <a href="$loop.it.link()" >
19
19
<span :text="$loop.it.title"></span>
20
- </li >
21
- </a >
20
+ </a >
21
+ </li >
22
22
</ul>
23
23
<div class="docs" :if="$page.custom.getOr('toc', true).and($page.isSection().not())">
24
- <h1>Table of Contents </h1>
24
+ <h1>TOC </h1>
25
25
<div :html="$page.toc()"></div>
26
26
</div>
27
27
<super>
37
37
</a>
38
38
</div>
39
39
</div>
40
- </body>
40
+ </body>
You can’t perform that action at this time.
0 commit comments