Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WikiLink = newWithDefaultOptions()
WikiLink is a goldmark extension configured with default options.
Functions ¶
Types ¶
type Option ¶
type Option func(*wikiLinkExtension)
Option is used to configure the extension.
func WithAliasDelimiter ¶
WithAliasDelimiter sets alias delimiter.
func WithRenderFunc ¶
func WithRenderFunc(renderFunc RenderFunc) Option
WithRenderFunc sets the function used to render wikilinks.
func WithResolveDestinationFunc ¶
func WithResolveDestinationFunc(resolveDestinationFunc ResolveDestinationFunc) Option
WithResolveDestinationFunc sets the function used to resolve destination.
type ResolveDestinationFunc ¶
ResolveDestinationFunc maps a raw destination to a file path and determines if the file exists.
Click to show internal directories.
Click to hide internal directories.