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 11
22serve :
3- zine
3+ zine --port 1313
44
55lint :
66 npx @lint-md/cli ** /*
Original file line number Diff line number Diff line change 4444
4545在本仓库的 [release 页面](https://github.com/zigcc/zigcc.github.io/releases)会定期将本教程导出为 PDF 格式,读者可按需下载。
4646
47- ```html
48- <!-- TODO -->
49- <!-- 读者也可以使用右侧导航栏中的『[整节打印](_print)』将当前版本教程保存为 PDF 格式。 -->
50- ```
51-
5247# [其他学习资料]($section.id('other-learning-resources'))
5348
5449由于 Zig 目前还处于快速迭代,因此最权威的资料无疑是官方的 [Zig Language Reference](https://ziglang.org/documentation/master/),遇到语言的细节问题,基本都可以在这里找到答案。其次是社区的一些高质量教程,例如:
Original file line number Diff line number Diff line change 66<body id="body">
77 <h1 :text="$page.title"></h1>
88 <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>
1010 <p :text="$page.author" id="author"></p>
1111 </div>
1212 <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()" >
1919 <span :text="$loop.it.title"></span>
20- </li >
21- </a >
20+ </a >
21+ </li >
2222 </ul>
2323 <div class="docs" :if="$page.custom.getOr('toc', true).and($page.isSection().not())">
24- <h1>Table of Contents </h1>
24+ <h1>TOC </h1>
2525 <div :html="$page.toc()"></div>
2626 </div>
2727 <super>
3737 </a>
3838 </div>
3939 </div>
40- </body>
40+ </body>
You can’t perform that action at this time.
0 commit comments