functions and classes to automaticly link Markdownfiles through headers and wikilinks
Project description
Autolink
Autolink is a command-line utility that automatically discovers tags and creates cross-links between your Markdown files, turning your collection of notes into a navigable personal wiki.
Description
This tool is designed for anyone who maintains a personal knowledge base, a digital garden, or a Zettelkasten-style system using Markdown files. It works by:
- Scanning your files to find tags from various sources (like
# Headers,[[wikilinks]], and a special[tags]:# (...)comment). - Automatically converting occurrences of these tags into reference-style Markdown links (
[tag][tag]). - Maintaining a central
linklist.md, and atag_index.jsonfile that contains all the link definitions, pointing each tag to its canonical source file.
This process helps you build a rich, interconnected web of knowledge without the manual effort of creating and updating links.
Installation
You can install Autolink directly from the repository using pip:
pip install autolink-md
Usage
Provide a simple example of how to use your library.
# Example Usage of Autolink
import os
import autolink
path = os.path.realpath("my_folder")
initialize_tagging(path)
there are 3 commands:
-
$autolink init path ./path/to/folder
-
$autolink update path ./path/to/folder
-
$autolink rename --old old_tag --new new_tag path ./path/to/folder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autolink_md-0.1.0.tar.gz.
File metadata
- Download URL: autolink_md-0.1.0.tar.gz
- Upload date:
- Size: 54.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7893e13ed68dbe18befe3d350011648a2ac327212144264ecd5c77b98ef7cdd1
|
|
| MD5 |
fb2590fe95cc06e212fe1dd3dfddeb54
|
|
| BLAKE2b-256 |
59c6f2bd53c3edce831e217b181f774f7b5bb0119a5205e3897ccda9bf6369d0
|
File details
Details for the file autolink_md-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autolink_md-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fdc736bbbe7c7f2ee84fff1b8a0fa50d0808c4662d8a1268f54a1273fc63e69
|
|
| MD5 |
5623a2e66ceab5f546cdeb22098f1d3d
|
|
| BLAKE2b-256 |
058fca1f56f492128bf5ef65771f0ba4ceae963c9e3f79386e78b95cdd62ffb8
|