Versions in this module Expand all Collapse all v0 v0.0.1 Nov 5, 2023 Changes in this version + type AttributesOptionsSliceProvider interface + AttributesSlice func() []attributes.Attribute + OptionsSlice func() []attributes.Attribute + type AttributesProvider interface + Attributes func() map[string]any + type CodeBlockRenderer interface + RenderCodeblock func(cctx context.Context, w hugio.FlexiWriter, ctx CodeblockContext) error + type CodeblockContext interface + Inner func() string + Options func() map[string]any + Ordinal func() int + Page func() any + Type func() string + type ElementPositionResolver interface + ResolvePosition func(ctx any) text.Position + type GetRendererFunc func(t RendererType, id any) any + type HeadingContext interface + Anchor func() string + Level func() int + Page func() any + PlainText func() string + Text func() hstring.RenderedString + type HeadingRenderer interface + RenderHeading func(cctx context.Context, w io.Writer, ctx HeadingContext) error + type ImageLinkContext interface + IsBlock func() bool + Ordinal func() int + type IsDefaultCodeBlockRendererProvider interface + IsDefaultCodeBlockRenderer func() bool + type LinkContext interface + Destination func() string + Page func() any + PlainText func() string + Text func() hstring.RenderedString + Title func() string + type LinkRenderer interface + RenderLink func(cctx context.Context, w io.Writer, ctx LinkContext) error + type RendererType int + const CodeBlockRendererType + const HeadingRendererType + const ImageRendererType + const LinkRendererType