Documentation
¶
Index ¶
- func ExtractQuoteCode(rawContent string) []content.QuoteCodeRenderConfig
- func Load(templatesDir string) (*template.Template, error)
- func ReplaceChildrenMarkers(html string, renders []content.ChildrenRenderConfig, tmpl *template.Template) (string, error)
- func ReplaceQuoteCode(contentHTML string, renders []content.QuoteCodeRenderConfig, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractQuoteCode ¶
func ExtractQuoteCode(rawContent string) []content.QuoteCodeRenderConfig
@Doc: https://pkg.go.dev/github.com/alecthomas/chroma/v3#readme-the-html-formatter
func ReplaceChildrenMarkers ¶
func ReplaceQuoteCode ¶
func ReplaceQuoteCode(contentHTML string, renders []content.QuoteCodeRenderConfig, config config.SiteConfig) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.