Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InlineMarkdownEncoder ¶
type MarkupBuilder ¶
type MarkupBuilder interface { InlineMarkdownEncoder PageMarkdownEncoder String() string // used by list pages RawMarkdown(Markdown) Para(Markdown) Pre(string) EmptyPara() Heading2(m Markdown, id string) Heading3(m Markdown, id string) Heading4(m Markdown, id string) UnorderedList([]Markdown) OrderedList([]Markdown) DefinitionList([][2]Markdown) BlockQuote(Markdown) Timeline([]TimelineRow) }
type PageMarkdownEncoder ¶
type PageMarkdownEncoder interface { InlineMarkdownEncoder EncodeCitationDetail(c *model.GeneralCitation) string EncodeWithCitations(s string, citations []*model.GeneralCitation) string EncodeModelLinkDedupe(firstText string, subsequentText string, m any) string }
A PageMarkdownEncoder provides methods that encode as markdown but require or add additional context at the page level.
type TimelineRow ¶
Click to show internal directories.
Click to hide internal directories.