package markup_config
import "github.com/gohugoio/hugo/markup/markup_config"
Index ¶
Variables ¶
var Default = Config{ DefaultMarkdownHandler: "goldmark", TableOfContents: tableofcontents.DefaultConfig, Highlight: highlight.DefaultConfig, Goldmark: goldmark_config.Default, AsciiDocExt: asciidocext_config.Default, }
Types ¶
type Config ¶
type Config struct {
// Default markdown handler for md/markdown extensions.
// Default is "goldmark".
DefaultMarkdownHandler string
// The configuration used by code highlighters.
Highlight highlight.Config
// Table of contents configuration
TableOfContents tableofcontents.Config
// Configuration for the Goldmark markdown engine.
Goldmark goldmark_config.Config
// Configuration for the AsciiDoc external markdown engine.
AsciiDocExt asciidocext_config.Config
}
func Decode ¶
func (*Config) Init ¶
Source Files ¶
- Version
- v0.153.4 (latest)
- Published
- Dec 28, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 4 months ago –
Tools for package owners.