package markup

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

Index

Types

type ConverterProvider

type ConverterProvider interface {
	Get(name string) converter.Provider
	// Default() converter.Provider
	GetMarkupConfig() markup_config.Config
	Highlight(code, lang, optsStr string) (string, error)
}

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 asciidoc_config holds asciidoc related configuration.
markup/blackfridayPackage blackfriday converts Markdown to HTML using Blackfriday v1.
markup/blackfriday/blackfriday_config
markup/converter
markup/converter/hooks
markup/goldmarkPackage goldmark converts Markdown to HTML using Goldmark.
markup/goldmark/goldmark_configPackage goldmark_config holds Goldmark related configuration.
markup/goldmark/internal
markup/highlightPackage highlight provides code highlighting.
markup/internal
markup/markup_config
markup/mmarkPackage mmark converts Markdown to HTML using MMark v1.
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.82.1
Published
Apr 20, 2021
Platform
darwin/amd64
Imports
11 packages
Last checked
30 minutes ago

Tools for package owners.