-
Notifications
You must be signed in to change notification settings - Fork 23
/
templates.go
89 lines (86 loc) · 3.89 KB
/
templates.go
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package html5
import (
"github.com/bytesparadise/libasciidoc/pkg/renderer/sgml"
)
// Templates returns the default Templates use for HTML5.
func Templates() sgml.Templates {
return templates
}
// the Templates used for HTML5.
var templates = sgml.Templates{
AdmonitionBlock: admonitionBlockTmpl,
AdmonitionParagraph: admonitionParagraphTmpl,
Article: articleTmpl,
ArticleHeader: articleHeaderTmpl,
BlockImage: blockImageTmpl,
BoldText: boldTextTmpl,
CalloutList: calloutListTmpl,
CalloutListElement: calloutListElementTmpl,
CalloutRef: calloutRefTmpl,
DocumentDetails: documentDetailsTmpl,
DocumentAuthorDetails: documentAuthorDetailsTmpl,
EmbeddedParagraph: embeddedParagraphTmpl,
ExternalCrossReference: externalCrossReferenceTmpl,
ExampleBlock: exampleBlockTmpl,
FencedBlock: fencedBlockTmpl,
Footnote: footnoteTmpl,
FootnoteElement: footnoteElementTmpl,
FootnoteRef: footnoteRefTmpl,
Footnotes: footnotesTmpl,
IconFont: iconFontTmpl,
IconImage: iconImageTmpl,
IconText: iconTextTmpl,
InlineButton: inlineButtonTmpl,
InlineIcon: inlineIconTmpl,
InlineImage: inlineImageTmpl,
InlineMenu: inlineMenuTmpl,
InternalCrossReference: internalCrossReferenceTmpl,
InvalidFootnote: invalidFootnoteTmpl,
ItalicText: italicTextTmpl,
LabeledList: labeledListTmpl,
LabeledListElement: labeledListElementTmpl,
LabeledListHorizontal: labeledListHorizontalTmpl,
LabeledListHorizontalElement: labeledListHorizontalElementTmpl,
LineBreak: lineBreakTmpl,
Link: linkTmpl,
ListingBlock: listingBlockTmpl,
LiteralBlock: literalBlockTmpl,
ManpageHeader: manpageHeaderTmpl,
ManpageNameParagraph: manpageNameParagraphTmpl,
MarkdownQuoteBlock: markdownQuoteBlockTmpl,
MarkedText: markedTextTmpl,
MonospaceText: monospaceTextTmpl,
OpenBlock: openBlockTmpl,
OrderedList: orderedListTmpl,
OrderedListElement: orderedListElementTmpl,
PassthroughBlock: passthroughBlock,
Paragraph: paragraphTmpl,
Preamble: preambleTmpl,
QAndAList: qAndAListTmpl,
QAndAListElement: qAndAListElementTmpl,
QuoteBlock: quoteBlockTmpl,
QuoteParagraph: quoteParagraphTmpl,
SectionContent: sectionContentTmpl,
SectionTitle: sectionTitleTmpl,
SidebarBlock: sidebarBlockTmpl,
SourceBlock: sourceBlockTmpl,
SubscriptText: subscriptTextTmpl,
SuperscriptText: superscriptTextTmpl,
Table: tableTmpl,
TableBody: tableBodyTmpl,
TableCell: tableCellTmpl,
TableCellBlock: tableCellBlockTmpl,
TableHeader: tableHeaderTmpl,
TableHeaderCell: tableHeaderCellTmpl,
TableFooter: tableFooterTmpl,
TableFooterCell: tableFooterCellTmpl,
TableRow: tableRowTmpl,
ThematicBreak: thematicBreakTmpl,
TocRoot: tocRootTmpl,
TocEntry: tocEntryTmpl,
TocSection: tocSectionTmpl,
UnorderedList: unorderedListTmpl,
UnorderedListElement: unorderedListElementTmpl,
VerseBlock: verseBlockTmpl,
VerseParagraph: verseParagraphTmpl,
}