Documentation
¶
Index ¶
- func ExtractImageUrls(md string) []string
- func ImportReplacer(renameMap map[string]string, existingMap map[string]struct{}) types.Replacer[string]
- func NewModifier(t parser.ASTTransformer) goldmark.Markdown
- func NewParser(view types.HTMLView, mediaReplacer types.Replacer[string], link types.Link) goldmark.Markdown
- func Parse(s string, view types.HTMLView, mediaReplacer types.Replacer[string], ...) *parsedText
- func ReplaceImageUrls(md string, replace types.Replacer[string]) string
- func ReplaceImageUrlsOrLinkify(md string, replace ErrorReplacer) (string, error)
- func ToEnrichedTemplate(s string, view types.HTMLView, mediaReplacer types.Replacer[string], ...) template.HTML
- type EmbeddedLink
- type ErrorReplacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractImageUrls ¶
func ImportReplacer ¶
func NewModifier ¶
func NewModifier(t parser.ASTTransformer) goldmark.Markdown
func ReplaceImageUrlsOrLinkify ¶
func ReplaceImageUrlsOrLinkify(md string, replace ErrorReplacer) (string, error)
Types ¶
type EmbeddedLink ¶
type ErrorReplacer ¶
Click to show internal directories.
Click to hide internal directories.