Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extender ¶
type Extender struct {
// A map of short link prefixes to their full URL prefixes.
//
// Example:
// {"man": "https://man.gnoack.org/"}
Prefixes map[string]string
}
Extender is a goldmark extension for recognizing shortlinks
A shortlink starts with a shortlink name, followed by a slash and a URL path, e.g. "go/foo".
Valid shortlink examples:
* go/foo * files/my/document.txt * wiki/FooBar * wiki/FooBar#Header1
Click to show internal directories.
Click to hide internal directories.