Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHyphenation ¶
func NewHyphenation(opts ...HyphenationOption) goldmark.Extender
Types ¶
type HyphenationConfig ¶
type HyphenationConfig struct {
// contains filtered or unexported fields
}
func (*HyphenationConfig) Extend ¶
func (h *HyphenationConfig) Extend(m goldmark.Markdown)
type HyphenationHTMLRenderer ¶
type HyphenationHTMLRenderer struct {
// contains filtered or unexported fields
}
func NewHyphenationHTMLRenderer ¶
func NewHyphenationHTMLRenderer(hyphenator *hyphenator.Lang) *HyphenationHTMLRenderer
func (*HyphenationHTMLRenderer) RegisterFuncs ¶
func (r *HyphenationHTMLRenderer) RegisterFuncs(reg renderer.NodeRendererFuncRegisterer)
type HyphenationOption ¶
type HyphenationOption interface {
SetHyphenationOption(*HyphenationConfig)
}
func WithHyphenationFile ¶
func WithHyphenationFile(value *os.File) HyphenationOption
Click to show internal directories.
Click to hide internal directories.