aboutsummaryrefslogtreecommitdiffstats
path: root/asciidoc/example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'asciidoc/example.txt')
-rw-r--r--asciidoc/example.txt74
1 files changed, 74 insertions, 0 deletions
diff --git a/asciidoc/example.txt b/asciidoc/example.txt
new file mode 100644
index 0000000..9fe787e
--- /dev/null
+++ b/asciidoc/example.txt
@@ -0,0 +1,74 @@
+
+= h1
+
+== h2
+
+=== h3
+
+
+
+
+
+==== h4
+
+[source,cpp]
+-------------------
+#include <cstdio>
+
+class Main {
+public:
+ Main() {
+ printf("Hello, world\n");
+ }
+} _;
+
+int main() {
+ return 0;
+}
+-------------------
+
+aaa "雙引號" +
+aaa '單引號' +
+aaa `反單引號` +
+aaa ~毛毛蟲~ +
+aaa *星號* +
+aaa ^xor^ +
+aaa ?問號? +
+aaa 結尾兩個問號??
+aaa $錢號$
+
+
+===== h5
+
+// no h6
+
+bla
+
+
+.Description
+
+cla +
+dla
+
+[options="header",width="70%",cols="1<,2^,1>",grid="rows"]
+|================================
+| header1 | header2 | header3
+| (0, 0) | (0, 1) | (0, 2)
+| (1, 0) | (1, 1) | (1, 2)
+| (2, 0) | (2, 1) | (2, 2)
+|================================
+
+[NOTE]
+zzz +
+yyy +
+xxx
+
+WARNING: gogo!
+
+
+* list1
+** list2
+*** list 3
+*** list 3
+** list2
+