#markdown #yaml #command-line-arguments #generate-markdown #command-line-tool #command-line-interface #cli

app markdown_minder

A CLI tool for saving content to markdown with YAML frontmatter support

1 unstable release

0.2.0 Sep 16, 2024

#417 in Command line utilities

Download history 142/week @ 2024-09-14 20/week @ 2024-09-21 11/week @ 2024-09-28

173 downloads per month

MIT license

8KB
97 lines

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.

Dependencies

~2–2.9MB
~50K SLoC