Categorygithub.com/dangoor/goldmark-wikilinks
modulepackage
1.0.0
Repository: https://github.com/dangoor/goldmark-wikilinks.git
Documentation: pkg.go.dev

# README

goldmark-wikilinks

This is a goldmark plugin for processing wikilinks (links that look like [[Hi there]]). You can add it directly to your goldmark to have it turn links like the example into [Hi there](Hi there.html). Using a FilenameNormalizer you can customize what the link destination is. Using a WikilinkTracker you can gather up the links to create a list of backlinks, which was the reason I created this in the first place.

# Functions

NewWikilinksParser gives you back a parser that you can use to process wikilinks.

# Variables

No description provided by the author

# Interfaces

FilenameNormalizer is a plugin which takes link text and converts the text given to a filename which can be linked to in the final format of your file.
WikilinkTracker is a plugin that can get called for each discovered link and gather up information about the links.