Documentation ¶
Index ¶
- func NewMarkdown() markdown.Markdown
- type Builder
- func (b *Builder) Build() goldmark.Markdown
- func (b *Builder) WithAttribute()
- func (b *Builder) WithAttributeBlock()
- func (b *Builder) WithAutoHeadingID()
- func (b *Builder) WithCJK()
- func (b *Builder) WithCodeFences()
- func (b *Builder) WithDefinitionList()
- func (b *Builder) WithEmoji()
- func (b *Builder) WithFootnote()
- func (b *Builder) WithHTMLRenderer()
- func (b *Builder) WithHardWraps()
- func (b *Builder) WithImage()
- func (b *Builder) WithLinkify()
- func (b *Builder) WithPassThrough()
- func (b *Builder) WithStrikethrough()
- func (b *Builder) WithStrikethroughHTMLRenderer()
- func (b *Builder) WithTable()
- func (b *Builder) WithTaskList()
- func (b *Builder) WithTypographer()
- func (b *Builder) WithUnsafe()
- func (b *Builder) WithXHTML()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMarkdown ¶
Types ¶
type Builder ¶
type Builder struct { markdown.Highlighter // contains filtered or unexported fields }
func NewGoldMarkBuilder ¶
func NewGoldMarkBuilder(cfg valueobject.GoldMarkConfig, highlighter markdown.Highlighter) *Builder
func (*Builder) WithAttribute ¶
func (b *Builder) WithAttribute()
func (*Builder) WithAttributeBlock ¶
func (b *Builder) WithAttributeBlock()
func (*Builder) WithAutoHeadingID ¶
func (b *Builder) WithAutoHeadingID()
func (*Builder) WithCodeFences ¶
func (b *Builder) WithCodeFences()
func (*Builder) WithDefinitionList ¶
func (b *Builder) WithDefinitionList()
func (*Builder) WithFootnote ¶
func (b *Builder) WithFootnote()
func (*Builder) WithHTMLRenderer ¶
func (b *Builder) WithHTMLRenderer()
func (*Builder) WithHardWraps ¶
func (b *Builder) WithHardWraps()
func (*Builder) WithLinkify ¶
func (b *Builder) WithLinkify()
func (*Builder) WithPassThrough ¶
func (b *Builder) WithPassThrough()
func (*Builder) WithStrikethrough ¶
func (b *Builder) WithStrikethrough()
func (*Builder) WithStrikethroughHTMLRenderer ¶
func (b *Builder) WithStrikethroughHTMLRenderer()
func (*Builder) WithTaskList ¶
func (b *Builder) WithTaskList()
func (*Builder) WithTypographer ¶
func (b *Builder) WithTypographer()
func (*Builder) WithUnsafe ¶
func (b *Builder) WithUnsafe()
Click to show internal directories.
Click to hide internal directories.