Skip to main content

Module wikilink

Module wikilink 

Source
Expand description

WikiLink Module

This module contains a Indexer and a Resolver for WikiLinks The Indexer recursively indexes the subdirectories and files in a given base-directory mapping the filename to the full path The Resolver looks for found WikiLinks in the Index thus resolving the WikiLink to a full filepath

ModulesΒ§

index πŸ”’
resolver πŸ”’

ConstantsΒ§

MARKDOWN_FRAGMENT_MARKER πŸ”’
In Markdown Links both β€˜#’ and β€˜|’ act as modifiers β€˜#’ links to a specific Header in a file β€˜|’ is used to modify the link name, a so called β€œpothole”
MARKDOWN_POTHOLE_MARKER πŸ”’

FunctionsΒ§

wikilink πŸ”’
Clean a WikiLink by removing potholes and fragments from a &str