1
0

feat: 增加一个简单的markdown编写

This commit is contained in:
2025-09-17 17:03:51 +08:00
parent 0b9cb55788
commit f8ee51c0ed
2 changed files with 1272 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.lanyuanxiaoyao.leopard.server;
import com.lanyuanxiaoyao.leopard.server.helper.MdHelper;
/**
* @author lanyuanxiaoyao
* @version 20250917
*/
public class MdTest {
public static void main(String[] args) {
System.out.println(
MdHelper.of()
.bigTitle("Markdown Helper")
.title("Markdown Helper")
.subTitle("Markdown Helper")
.code("java")
.text("System.out.println()")
.endCode()
.divider()
.table()
.data(new Object[]{"name", "value"}, new Object[][]{new Object[]{"1", "2"}, new Object[]{"3", "4"}})
.endTable()
.build()
);
}
}