-
public final class CreoleDslExtensions
-
-
Method Summary
-
-
Method Detail
-
creoleDsl
final static CreoleDsl.DslDocument creoleDsl(Function1<CreoleDsl.DslDocument, Unit> block)
开始构建CreoleDsl。
-
creoleDslConfig
final static Unit creoleDslConfig(Function1<CreoleDsl.DslConfig, Unit> block)
配置CreoleDsl。
-
unicode
final static CreoleDsl.UnicodeText unicode(CreoleDsl.InlineDslEntry $self, Integer number)
-
b
final static CreoleDsl.BoldText b(CreoleDsl.InlineDslEntry $self, CharSequence text)
创建一个CreoleDsl.BoldText。
-
i
final static CreoleDsl.ItalicText i(CreoleDsl.InlineDslEntry $self, CharSequence text)
创建一个CreoleDsl.ItalicText。
-
m
final static CreoleDsl.MonospacedText m(CreoleDsl.InlineDslEntry $self, String text)
-
s
final static CreoleDsl.StrokedText s(CreoleDsl.InlineDslEntry $self, CharSequence text)
-
u
final static CreoleDsl.UnderlineText u(CreoleDsl.InlineDslEntry $self, CharSequence text)
-
w
final static CreoleDsl.WavedText w(CreoleDsl.InlineDslEntry $self, CharSequence text)
创建一个CreoleDsl.WavedText。
-
escaped
final static CreoleDsl.EscapedText escaped(CreoleDsl.InlineDslEntry $self, CharSequence text)
-
icon
final static CreoleDsl.Icon icon(CreoleDsl.InlineDslEntry $self, String name)
创建一个CreoleDsl.Icon。
-
textBlock
final static CreoleDsl.TextBlock textBlock(CreoleDsl.DslEntry $self, Function0<String> lazyText)
创建一个CreoleDsl.TextBlock并注册。
-
h1
final static CreoleDsl.Heading1 h1(CreoleDsl.DslEntry $self, String text)
创建一个CreoleDsl.Heading1并注册。
-
h2
final static CreoleDsl.Heading2 h2(CreoleDsl.DslEntry $self, String text)
创建一个CreoleDsl.Heading2并注册。
-
h3
final static CreoleDsl.Heading3 h3(CreoleDsl.DslEntry $self, String text)
创建一个CreoleDsl.Heading3并注册。
-
h4
final static CreoleDsl.Heading4 h4(CreoleDsl.DslEntry $self, String text)
创建一个CreoleDsl.Heading4并注册。
-
hr
final static CreoleDsl.HorizontalLine hr(CreoleDsl.DslEntry $self, CreoleDsl.HorizontalLineType type)
创建一个CreoleDsl.HorizontalLine并注册。
-
title
final static CreoleDsl.HorizontalTitle title(CreoleDsl.DslEntry $self, String text, CreoleDsl.HorizontalLineType type)
创建一个CreoleDsl.HorizontalTitle并注册。
-
list
final static CreoleDsl.List list(CreoleDsl.DslEntry $self, Function1<CreoleDsl.List, Unit> block)
创建一个CreoleDsl.List并注册。
-
tree
final static CreoleDsl.Tree tree(CreoleDsl.DslEntry $self, String title, Function1<CreoleDsl.Tree, Unit> block)
创建一个CreoleDsl.Tree并注册。
-
table
final static CreoleDsl.Table table(CreoleDsl.DslEntry $self, Function1<CreoleDsl.Table, Unit> block)
创建一个CreoleDsl.Table并注册。
-
ol
final static CreoleDsl.OrderedListNode ol(CreoleDsl.List $self, String text, Function1<CreoleDsl.OrderedListNode, Unit> block)
创建一个CreoleDsl.OrderedListNode并注册。
-
ol
final static CreoleDsl.OrderedListNode ol(CreoleDsl.ListNode $self, String text, Function1<CreoleDsl.OrderedListNode, Unit> block)
创建一个CreoleDsl.TextBlock并注册。
-
ul
final static CreoleDsl.UnorderedListNode ul(CreoleDsl.List $self, String text, Function1<CreoleDsl.UnorderedListNode, Unit> block)
创建一个CreoleDsl.UnorderedListNode并注册。
-
ul
final static CreoleDsl.UnorderedListNode ul(CreoleDsl.ListNode $self, String text, Function1<CreoleDsl.UnorderedListNode, Unit> block)
创建一个CreoleDsl.UnorderedListNode并注册。
-
node
final static CreoleDsl.TreeNode node(CreoleDsl.Tree $self, String text, Function1<CreoleDsl.TreeNode, Unit> block)
创建一个CreoleDsl.TreeNode并注册。
-
node
final static CreoleDsl.TreeNode node(CreoleDsl.TreeNode $self, String text, Function1<CreoleDsl.TreeNode, Unit> block)
创建一个CreoleDsl.TreeNode并注册。
-
header
final static CreoleDsl.TableHeader header(CreoleDsl.Table $self, Function1<CreoleDsl.TableHeader, Unit> block)
创建一个CreoleDsl.TableHeader并注册。
-
row
final static CreoleDsl.TableRow row(CreoleDsl.Table $self, Function1<CreoleDsl.TableRow, Unit> block)
创建一个CreoleDsl.TableRow并注册。
-
columnSize
final static CreoleDsl.Table columnSize(CreoleDsl.Table $self, Integer size)
配置CreoleDsl.Table的列的数量。
-
column
final static CreoleDsl.TableColumn column(CreoleDsl.TableHeader $self, String text)
创建一个CreoleDsl.TableColumn并注册。
-
column
final static CreoleDsl.TableColumn column(CreoleDsl.TableRow $self, String text)
创建一个CreoleDsl.TableColumn并注册。
-
color
final static CreoleDsl.TableColumn color(CreoleDsl.TableColumn $self, String color)
配置CreoleDsl.TableColumn的颜色。
-
-
-
-