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,
	BlackFriday: blackfriday_config.Default,
}

Types

type Config

type Config struct {
	// Default markdown handler for md/markdown extensions.
	// Default is "goldmark".
	// Before Hugo 0.60 this was "blackfriday".
	DefaultMarkdownHandler string

	Highlight       highlight.Config
	TableOfContents tableofcontents.Config

	// Content renderers
	Goldmark    goldmark_config.Config
	BlackFriday blackfriday_config.Config
}

func Decode

func Decode(cfg config.Provider) (conf Config, err error)

Source Files

config.go

Version
v0.65.1
Published
Feb 20, 2020
Platform
js/wasm
Imports
8 packages
Last checked
50 minutes ago

Tools for package owners.