markdown_minder

Crates.iomarkdown_minder
lib.rsmarkdown_minder
version0.2.0
sourcesrc
created_at2024-09-16 20:10:31.87044
updated_at2024-09-16 20:10:31.87044
descriptionA CLI tool for saving content to markdown with YAML frontmatter support.
homepage
repositoryhttps://github.com/xeniode/markdown_minder
max_upload_size
id1376824
size20,758
ZX (xeniode)

documentation

README

README - markdown_minder

markdown_minder is a simple command-line application written in Rust that processes Markdown files with optional YAML frontmatter.

Features

  • Save content from stdin to Markdown files
  • Support for YAML frontmatter in Markdown files
  • Ability to specify custom frontmatter fields via command-line arguments
  • Use of templates for predefined frontmatter structures
  • Option to automatically generate a unique ID for frontmatter
  • Command-line interface for seamless integration with shell scripts and workflows

Installation

Before you can use markdown_minder, make sure you have Rust and Cargo installed on your machine. If you don't have them installed, you can download and install them from the official Rust website: https://www.rust-lang.org/tools/install.

Once Rust and Cargo are installed, you can install markdown_minder by running the following command in your terminal:

cargo install markdown_minder

Usage

After installing markdown_minder, you can start using it to save stdin and other content your Markdown files with YAML frontmatter templates. Here's a simple example of how to use it:

echo "Pipe in content" | markdown_minder --output process your_file.md --frontmatter my_prop="my value" --title "Default Title" --template default_template.yml

Replace your_file.md with the path to your Markdown file.

License

markdown_minder is released under the MIT License. See the LICENSE file for more details.

Project status

markdown_minder is actively maintained. For the latest updates, check the repository's commit history.

Commit count: 0

cargo fmt