Documentation
¶
Overview ¶
Package used to render d2 graph with goldmark.
Copied from https://github.com/FurqanSoftware/goldmark-d2 and updated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KindBlock = ast.NewNodeKind("Block")
Functions ¶
This section is empty.
Types ¶
type CompileOptions ¶
type CompileOptions d2lib.CompileOptions
type Extender ¶
type Extender struct { CompileOptions RenderOptions }
type HTMLRenderer ¶
type HTMLRenderer struct { CompileOptions RenderOptions }
func (*HTMLRenderer) RegisterFuncs ¶
func (r *HTMLRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
type RenderOptions ¶
type RenderOptions d2svg.RenderOpts
Click to show internal directories.
Click to hide internal directories.