前言

这是前言部分!

友情支持

如果觉得对您有所帮助,看在D瓜哥码这么多字的辛苦上,请友情支持一下,D瓜哥感激不尽,😜

支付宝

微信

有些打赏的朋友希望可以加个好友,欢迎关注D瓜哥的微信公众号,这样就可以通过公众号的回复直接给我发信息。

wx jikerizhi
公众号的微信号是: jikerizhi因为众所周知的原因,有时图片加载不出来。如果图片加载不出来可以直接通过搜索微信号来查找我的公众号。

1. 正文部分

这是正文部分!

行内高亮: java

1.1. 代码高亮

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.diguage.yongle;

/**
 * = AsciiDoclet 示例文档
 *
 * 这是示例文档
 *
 * TIP: 这是一个提示文档!D瓜哥注:经测试,这个图标因为没有相关 CSS,不生效!
 *
 * == 示例代码
 *
 * [source,java]
 * ----
 * // @author D瓜哥 · https://www.diguage.com
 * public class HelloWorld {
 *     public static void main(String[] args) {
 *         System.out.println("Hello, D瓜哥 · https://www.diguage.com");
 *     }
 * }
 * ----
 *
 * == PlantUML diagram
 *
 * [plantuml,test]
 * ----
 * class BlockProcessor
 * class DiagramBlock
 * class DitaaBlock
 * class PlantUmlBlock
 *
 * BlockProcessor <|-- DiagramBlock
 * DiagramBlock <|-- DitaaBlock
 * DiagramBlock <|-- PlantUmlBlock
 * ----
 *
 * @author D瓜哥 · https://www.diguage.com
 * @since 2022-07-21 20:50:45
 */
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, D瓜哥 · https://www.diguage.com");
    }
}

1.2. Tab 页

  • Tab A

  • Tab B

  • Tab C

  • Tab D

Contents of Tab A.

Contents of Tab B.

Contents of Tab C.

Contains more than one block.

public class Test {
    public static void main(String[] args) {
        System.out.println("Hello");
    }
}

1.2.1. 嵌套 Tab 页

  • Tab A

  • Tab B

Selecting Tab A reveals a tabset with Tab Y and Tab Z.

  • Tab Y

  • Tab Z

Contents of Tab Y, nested inside Tab A.

Contents of Tab Z, nested inside Tab A.

Just text.

1.3. 图片

1.3.1. 外部图片

Diagram

1.3.2. 序列图

Failed to generate image: seqdiag failed: ERROR: 'FreeTypeFont' object has no attribute 'getsize'

seqdiag {
  edge_length = 200;  // default value is 192
  default_fontsize = 14;  // default value is 11

  browser  -> webserver [label = "GET /seqdiag/svg/base64", note = "\n测试\n_"];
  webserver  => processor [label = "Convert text to image", leftnote = "\n测试\n_"];
  browser <-- webserver;

=== D瓜哥 · https://www.diguage.com · 出品 ===
}

1.3.3. 文内图片

Diagram

附录 A: 版权声明

Unresolved directive in license.adoc - include::/home/runner/work/yongle/yongle/LICENSE[]