Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarkdownEx ¶
type MarkdownEx struct { MermaidJS string `json:"mermaid_js"` // contains filtered or unexported fields }
MarkdownEx exposes the template function "markdown_ex" which uses a custom markdown renderer that includes
- the html class "task-list-item" for item if a TaskList
- support for mermaidJS syntax
func (MarkdownEx) CaddyModule ¶
func (MarkdownEx) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*MarkdownEx) CustomTemplateFunctions ¶
func (m *MarkdownEx) CustomTemplateFunctions() template.FuncMap
CustomTemplateFunctions should return the mapping from custom function names to implementations. markdown_ex uses a custom markdown renderer that includes
- the html class "task-list-item" for items of a TaskList
- support for mermaidJS syntax
func (*MarkdownEx) Provision ¶
func (m *MarkdownEx) Provision(ctx caddy.Context) error
func (*MarkdownEx) UnmarshalCaddyfile ¶
func (m *MarkdownEx) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.