public final class ParagraphList extends Object implements IMarkdown
Modifier and Type | Method and Description |
---|---|
ParagraphList |
addBody(IMarkdown body) |
ParagraphList |
addBody(String body) |
ParagraphList |
addItem(String item) |
ParagraphList |
addItems(List<String> items) |
ParagraphList |
addItems(String... items) |
ParagraphList |
addSubItem(ParagraphList subItem) |
ParagraphList |
addSubItem(String subItem) |
ParagraphList |
addSubItems(List<String> subItems) |
ParagraphList |
addSubItems(String... subItems) |
static ParagraphList |
create() |
static ParagraphList |
create(boolean order) |
String |
toMarkdown()
输出Markdown格式内容
|
String |
toString() |
public static ParagraphList create()
public static ParagraphList create(boolean order)
public ParagraphList addItem(String item)
public ParagraphList addItems(String... items)
public ParagraphList addItems(List<String> items)
public ParagraphList addSubItem(ParagraphList subItem)
public ParagraphList addSubItem(String subItem)
public ParagraphList addSubItems(String... subItems)
public ParagraphList addSubItems(List<String> subItems)
public ParagraphList addBody(IMarkdown body)
public ParagraphList addBody(String body)
public String toMarkdown()
IMarkdown
toMarkdown
in interface IMarkdown
Copyright © 2022. All rights reserved.