Skip to main content

Crate mdref

Crate mdref 

Source

Structs§

Reference
Struct to hold reference information

Enums§

MdrefError

Functions§

find_links
Process a single Markdown file to find any file links.
find_references
Find all references to a given file within Markdown files in the specified root directory. Returns a vector of References containing the referencing file path, line number, column number, and the link text.
mv_file
Move a Markdown file and atomically update all references across the project.
rename_file
Rename a file by changing only its filename while keeping it in the same directory. This is a convenience wrapper around mv_file that handles the common case of renaming a file in place.

Type Aliases§

Result