package markup

import "github.com/gohugoio/hugo/markup"

Package markup contains the markup handling (e.g. Markdown).

Index

Types

type ConverterProvider

type ConverterProvider interface {
	Get(name string) converter.Provider
	// Default() converter.Provider
	GetMarkupConfig() markup_config.Config
	GetHighlighter() highlight.Highlighter
}

func NewConverterProvider

func NewConverterProvider(cfg converter.ProviderConfig) (ConverterProvider, error)

Source Files

markup.go

Directories

PathSynopsis
markup/asciidocextPackage asciidocext converts AsciiDoc to HTML using Asciidoctor external binary.
markup/asciidocext/asciidocext_configPackage asciidocext_config holds asciidoc related configuration.
markup/asciidocext/internal
markup/blackfridayPackage blackfriday holds some copmpability functions for the old Blackfriday v1 Markdown engine.
markup/converter
markup/converter/hooks
markup/goldmarkPackage goldmark converts Markdown to HTML using Goldmark.
markup/goldmark/codeblocks
markup/goldmark/goldmark_configPackage goldmark_config holds Goldmark related configuration.
markup/goldmark/images
markup/goldmark/internal
markup/goldmark/links
markup/highlightPackage highlight provides code highlighting.
markup/highlight/chromalexers
markup/internal
markup/markup_config
markup/orgPackage org converts Emacs Org-Mode to HTML.
markup/pandocPackage pandoc converts content to HTML using Pandoc as an external helper.
markup/rstPackage rst converts content to HTML using the RST external helper.
markup/tableofcontents
Version
v0.122.0
Published
Jan 26, 2024
Platform
windows/amd64
Imports
10 packages
Last checked
32 minutes ago

Tools for package owners.