Crates.io | markdown_replace |
lib.rs | markdown_replace |
version | 0.1.0 |
source | src |
created_at | 2024-04-27 08:11:41.599932 |
updated_at | 2024-04-27 08:11:41.599932 |
description | A tool to help you replace all markdown links with absolute links |
homepage | https://github.com/ivanleomk/markdown-replace |
repository | https://github.com/ivanleomk/markdown-replace |
max_upload_size | |
id | 1222414 |
size | 15,797 |
The Markdown Replace Tool is a cargo tool designed to search for specific patterns in markdown files within a specified directory and replace them with absolute links. This tool is particularly useful for managing and updating links in large markdown documentation projects.
To use this tool, you need to specify the root directory and optionally, a list of directories to ignore. Here is how you can call the tool from the command line:
cargo run ../../ML-Notes/ --ignore-dirs .obsidian,assets,.git
In this case, it'll go the ML-Notes
directory and from there it will recursively traverse the file to find all files. Then we'll read in the file and find