markup

package
v0.134.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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

func ResolveMarkup(s string) string

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 compability functions for the old Blackfriday v1 Markdown engine.
Package blackfriday holds some compability 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL