hugo: github.com/gohugoio/hugo/markup Index | Files | Directories

package markup

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

Index

Package Files

markup.go

type ConverterProvider Uses

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

func NewConverterProvider Uses

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

Directories

PathSynopsis
asciidocext/asciidocext_configPackage asciidoc_config holds asciidoc related configuration.
blackfridayPackage blackfriday converts Markdown to HTML using Blackfriday v1.
blackfriday/blackfriday_config
converter
converter/hooks
goldmarkPackage goldmark converts Markdown to HTML using Goldmark.
goldmark/goldmark_configPackage goldmark_config holds Goldmark related configuration.
highlightPackage highlight provides code highlighting.
internal
markup_config
mmarkPackage mmark converts Markdown to HTML using MMark v1.
orgPackage org converts Emacs Org-Mode to HTML.
pandocPackage pandoc converts content to HTML using Pandoc as an external helper.
rstPackage rst converts content to HTML using the RST external helper.
tableofcontents

Package markup imports 11 packages (graph) and is imported by 4 packages. Updated 2020-07-07. Refresh now. Tools for package owners.