Documentation ¶
Overview ¶
Package markup contains the markup handling (e.g. Markdown).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveMarkup ¶ added in v0.126.0
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)
Directories ¶
Path | Synopsis |
---|---|
Package asciidocext converts AsciiDoc to HTML using Asciidoctor external binary.
|
Package asciidocext converts AsciiDoc to HTML using Asciidoctor external binary. |
asciidocext_config
Package asciidocext_config holds asciidoc related configuration.
|
Package asciidocext_config holds asciidoc related configuration. |
Package blackfriday holds some compatibility functions for the old Blackfriday v1 Markdown engine.
|
Package blackfriday holds some compatibility functions for the old Blackfriday v1 Markdown engine. |
Package goldmark converts Markdown to HTML using Goldmark.
|
Package goldmark converts Markdown to HTML using Goldmark. |
goldmark_config
Package goldmark_config holds Goldmark related configuration.
|
Package goldmark_config holds Goldmark related configuration. |
Package highlight provides code highlighting.
|
Package highlight provides code highlighting. |
Package org converts Emacs Org-Mode to HTML.
|
Package org converts Emacs Org-Mode to HTML. |
Package pandoc converts content to HTML using Pandoc as an external helper.
|
Package pandoc converts content to HTML using Pandoc as an external helper. |
Package rst converts content to HTML using the RST external helper.
|
Package rst converts content to HTML using the RST external helper. |
Click to show internal directories.
Click to hide internal directories.