Versions in this module Expand all Collapse all v0 v0.1.0 Feb 26, 2025 Changes in this version + var Parser = goldmark.New(...) + var Typographer = &typographer + func NewTypographer(opts ...TypographerOption) goldmark.Extender + func NewTypographerParser(opts ...TypographerOption) parser.InlineParser + type TypographerConfig struct + Substitutions [][]byte + func (b *TypographerConfig) SetOption(name parser.OptionName, value interface{}) + type TypographerOption interface + SetTypographerOption func(*TypographerConfig) + func WithTypographicSubstitutions[T []byte | string](values map[TypographicPunctuation]T) TypographerOption + type TypographicPunctuation int + const Apostrophe + const Ellipsis + const EmDash + const EnDash + const LeftAngleQuote + const LeftDoubleQuote + const LeftSingleQuote + const RightAngleQuote + const RightDoubleQuote + const RightSingleQuote + type TypographicSubstitutions map[TypographicPunctuation][]byte