Content: string
Content: stringThe markdown between the opening and closing lines, rendered.
type DirectiveContext =
{
Name: string
Argument: string option
Attributes: Map<string,string>
Content: string
Page: Page
Site: SiteInfo
Report: Diagnostic -> unit
}| Assembly | Nacara.Plugin.Markdown |
What a :::name directive of your own is given.
Attributes: Map<string,string>From {key=value}, {.class} and {#id} on the opening line. Classes are under class, space-separated, and the id under id.
Page: PageThe page the directive is on.
Site: SiteInfoReport: Diagnostic -> unitAdds a diagnostic at the directive's opening line. Warn and Error call it.