A minimalist static site generator for Markdown files written in Rust.
- Convert Markdown files to HTML
- Minimal, clean themes
- Table, images, mermaid support
- Fast and lightweight
- Simple command-line interface
cargo build --release./target/release/orchid <input_dir> [output_dir] [theme]input_dir: Directory containing markdown files (required)output_dir: Output directory for generated HTML files (default:./output)theme: Theme name -minimalordark(default:minimal)
# Convert all markdown files in ./content to ./output with minimal theme
./target/release/orchid ./content
# Specify output directory
./target/release/orchid ./content ./dist
# Use dark theme
./target/release/orchid ./content ./output dark- minimal: Clean, light theme with modern typography
- dark: Dark theme with high contrast
- Scans the input directory for
.mdfiles - Converts each markdown file to HTML
- Wraps the content in a minimal HTML template with the selected theme
- Extracts the title from the first
# Headingor uses the filename - Outputs HTML files with the same name as the markdown files
Given a file content/hello.md:
# Hello World
This is a **markdown** file.Running ./target/release/orchid ./content will generate output/hello.html.