Tagger.md v1.0
We're excited to announce the release of Tagger.md v2.0! This version brings a significant change in how the script tags your Markdown files, moving from a header-based approach to a front matter-based approach. This change allows for better compatibility with various static site generators and Markdown renderers.
New Features
Front Matter Tagging: The script now adds tags to the front matter of your Markdown files. This allows for better compatibility with static site generators that use front matter for metadata.
Automatic Tagging: The script automatically generates tags based on the directory structure, adding a tag for each directory in the path to a file.
Custom Tags: You can now specify additional tags to be added to all files when running the script.
Markdown Files Only: The script now only processes Markdown files, preventing errors when running it on directories containing other types of files.
Improvements
Idempotent: The script is now idempotent, meaning you can run it multiple times on the same directory without duplicating tags.
Error Handling: Improved error handling for cases where a file's front matter is not valid YAML.