Versions in this module Expand all Collapse all v0 v0.0.1 Nov 5, 2023 Changes in this version + var Empty = &AttributesHolder + func RenderASTAttributes(w hugio.FlexiWriter, attributes ...ast.Attribute) + func RenderAttributes(w hugio.FlexiWriter, skipClass bool, attributes ...Attribute) + type Attribute struct + Name string + Value any + func (a Attribute) ValueString() string + type Attributes map[string]any + type AttributesHolder struct + func New(astAttributes []ast.Attribute, ownerType AttributesOwnerType) *AttributesHolder + func (a *AttributesHolder) Attributes() map[string]any + func (a *AttributesHolder) AttributesSlice() []Attribute + func (a *AttributesHolder) Options() map[string]any + func (a *AttributesHolder) OptionsSlice() []Attribute + type AttributesOwnerType int + const AttributesOwnerCodeBlockChroma + const AttributesOwnerCodeBlockCustom + const AttributesOwnerGeneral