package markup
import "github.com/gohugoio/hugo/markup"
Package markup contains the markup handling (e.g. Markdown).
Index ¶
Functions ¶
func ResolveMarkup ¶
ResolveMarkup returns the markup type.
Types ¶
type ConverterProvider ¶
type ConverterProvider interface {
Get(name string) converter.Provider
IsGoldmark(name string) bool
// Default() converter.Provider
GetMarkupConfig() markup_config.Config
GetHighlighter() highlight.Highlighter
}
func NewConverterProvider ¶
func NewConverterProvider(cfg converter.ProviderConfig) (ConverterProvider, error)
Source Files ¶
Directories ¶
| Path | Synopsis |
|---|---|
| markup/asciidocext | Package asciidocext converts AsciiDoc to HTML using Asciidoctor external binary. |
| markup/asciidocext/asciidocext_config | Package asciidocext_config holds asciidoc related configuration. |
| markup/asciidocext/internal | |
| markup/blackfriday | Package blackfriday holds some compatibility functions for the old Blackfriday v1 Markdown engine. |
| markup/converter | |
| markup/converter/hooks | |
| markup/goldmark | Package goldmark converts Markdown to HTML using Goldmark. |
| markup/goldmark/blockquotes | |
| markup/goldmark/codeblocks | |
| markup/goldmark/goldmark_config | Package goldmark_config holds Goldmark related configuration. |
| markup/goldmark/hugocontext | |
| markup/goldmark/images | |
| markup/goldmark/internal | |
| markup/goldmark/passthrough | |
| markup/goldmark/tables | |
| markup/highlight | Package highlight provides code highlighting. |
| markup/highlight/chromalexers | |
| markup/internal | |
| markup/markup_config | |
| markup/org | Package org converts Emacs Org-Mode to HTML. |
| markup/pandoc | Package pandoc converts content to HTML using Pandoc as an external helper. |
| markup/rst | Package rst converts content to HTML using the RST external helper. |
| markup/tableofcontents |
- Version
- v0.153.4 (latest)
- Published
- Dec 28, 2025
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 4 months ago –
Tools for package owners.