File tree 13 files changed +6
-13
lines changed
13 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,5 @@ typings/
78
78
79
79
# End of https://www.gitignore.io/api/node
80
80
81
- # Created by https://www.gitignore.io/api/ansible
82
-
83
- # ## Ansible ###
84
- * .retry
85
-
86
-
87
- # End of https://www.gitignore.io/api/ansible
88
-
89
81
.vscode
82
+ .DS_Store
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ $ git commit -m "写一个最简单的 HTML 页面"
117
117
118
118
运行 `tuture up` 命令,会弹出浏览器编辑页面:
119
119
120
- 
120
+ 
121
121
122
122
可以看到,tuture 已经帮我们整理好了教程的结构,并且把刚才提交的代码变化罗列了出来。
123
123
@@ -129,7 +129,7 @@ $ git commit -m "写一个最简单的 HTML 页面"
129
129
130
130
我们只需点击各个地方的“编写”按钮,就可以在弹出的 Markdown 编辑框中进行编辑了。编辑完成后点击“确定”按钮后,教程的第一步已经写好了:
131
131
132
- 
132
+ 
133
133
134
134
右边红色的框中是**步骤文件目录**,列出了这一步骤中的所有发生修改的文件。黑色的文件名表示这一文件将在教程中展示(例如上面的 index.html),而灰色的文件名则表示此文件被隐藏(例如 .gitignore 和 tuture.yml)。点击每个文件名框右侧的“眼睛”按钮即可调整显示/隐藏状态。
135
135
@@ -180,19 +180,19 @@ $ git commit -m "添加 CSS 样式表"
180
180
181
181
回到浏览器编辑界面,会发现第二步骤已经自动添加了进去:
182
182
183
- 
183
+ 
184
184
185
185
可以看到 Tuture 为我们把 `index.html` 的变化非常清晰地标注了出来,这能够让阅读教程的读者轻松地跟上你的节奏,边看边亲身实践。
186
186
187
187
我们希望先讲解 `style.css` 再讲解 `index.html`,这可以通过上面提到的步骤文件目录来调整——通过拖动文件名框来调整展示的顺序。
188
188
189
189
调整好顺序后,我们继续编写第二步的讲解文字。在第二步的最后,我们希望插入最后写好的页面的展示图片。点击 Markdown 编辑器右上角的“插入图片”按钮,或是直接将图片粘贴到编辑区域中,即可完成图片的插入:
190
190
191
- 
191
+ 
192
192
193
193
可以看到 Markdown 编辑器右边的预览展示了我们插入的图片!
194
194
195
- 
195
+ 
196
196
197
197
这样我们就完成了一个非常简短的教程。点击右下角的“保存”按钮,就可以欣赏我们的作品了!
198
198
You can’t perform that action at this time.
0 commit comments