添加 a.adoc
This commit is contained in:
51
a.adoc
Normal file
51
a.adoc
Normal file
@@ -0,0 +1,51 @@
|
||||
= 文档主标题(一级标题)
|
||||
作者姓名 <author@example.com>
|
||||
v1.0, 2023-10-27
|
||||
:toc: left
|
||||
:icons: font
|
||||
:source-highlighter: highlight.js
|
||||
|
||||
== 章节标题(二级标题)
|
||||
|
||||
这是正文段落。AsciiDoc 支持 *粗体*、_斜体_ 和 `等宽字体`。
|
||||
|
||||
=== 列表示例
|
||||
|
||||
* 无序列表项 1
|
||||
** 嵌套列表项
|
||||
* 无序列表项 2
|
||||
|
||||
. 有序列表项 A
|
||||
. 有序列表项 B
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
这是一个注意(Note)警告框。AsciiDoc 内置了多种提醒样式(TIP, IMPORTANT, WARNING, CAUTION)。
|
||||
====
|
||||
|
||||
== 代码与数学公式
|
||||
|
||||
[source,python]
|
||||
----
|
||||
import pandas as pd
|
||||
|
||||
def load_data(file):
|
||||
return pd.read_csv(file)
|
||||
----
|
||||
|
||||
latexmath:[E = mc^2]
|
||||
|
||||
== 表格与图片
|
||||
|
||||
.实验数据表
|
||||
[cols="1,1,2", options="header"]
|
||||
|
||||
|===
|
||||
| 编号 | 状态 | 描述
|
||||
| 01 | OK | 运行正常
|
||||
| 02 | Error| 传感器异常
|
||||
|===
|
||||
|
||||
image::diagram.png[图片描述, width=600]
|
||||
|
||||
link:https://asciidoc.org[AsciiDoc 官网]
|
||||
Reference in New Issue
Block a user