Versions in this module Expand all Collapse all v0 v0.2.0 Sep 23, 2023 Changes in this version + const HeadingStyleATX + const HeadingStyleATXSurround + const HeadingStyleFullWidthSetext + const HeadingStyleSetext + const IndentStyleSpaces + const IndentStyleTabs + const ThematicBreakLengthMinimum + const ThematicBreakStyleDashed + const ThematicBreakStyleStarred + const ThematicBreakStyleUnderlined + func WithHeadingStyle(style HeadingStyle) interface + func WithIndentStyle(style IndentStyle) interface + func WithThematicBreakLength(style ThematicBreakLength) interface + func WithThematicBreakStyle(style ThematicBreakStyle) interface + type Config struct + HeadingStyle HeadingStyle + IndentStyle IndentStyle + ThematicBreakLength ThematicBreakLength + ThematicBreakStyle ThematicBreakStyle + func NewConfig(options ...Option) *Config + func (c *Config) SetOption(name renderer.OptionName, value interface{}) + type HeadingStyle int + func (i HeadingStyle) IsSetext() bool + type IndentStyle int + func (i IndentStyle) Bytes() []byte + type Option interface + SetMarkdownOption func(*Config) + type Renderer struct + func NewRenderer(options ...Option) *Renderer + func (r *Renderer) AddOptions(opts ...renderer.Option) + func (r *Renderer) Render(w io.Writer, source []byte, n ast.Node) error + type ThematicBreakLength int + type ThematicBreakStyle int