Skip to main content

Crate mdref

Crate mdref 

Source

Structs§

Reference
Struct to hold reference information

Enums§

LinkType
The type of Markdown link that produced this reference.
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
Move a Markdown file or directory and atomically update all references across the project.
rename
Rename a file by changing only its filename while keeping it in the same directory. This is a convenience wrapper around mv that handles the common case of renaming a file in place.

Type Aliases§

Result