| Crates.io | yamc |
| lib.rs | yamc |
| version | 0.1.0 |
| created_at | 2025-07-20 18:31:28.506999+00 |
| updated_at | 2025-07-20 18:31:28.506999+00 |
| description | Yet Another Markdown Converter - A fast and feature-rich markdown to HTML and PDF converter |
| homepage | |
| repository | https://github.com/yourusername/yamc |
| max_upload_size | |
| id | 1761301 |
| size | 125,807 |
A fast, feature-rich command-line tool for converting Markdown files to beautiful HTML with GitHub-style rendering.
git clone https://github.com/yourusername/yamc.git
cd yamc
cargo build --release
cargo install --git https://github.com/yourusername/yamc.git
Convert a markdown file to HTML:
yamc convert README.md
This will create README.html in the same directory.
yamc convert README.md output.html
yamc convert ./docs/manual.md ./public/index.html
yamc --help
# or
yamc -h
# or
yamc help
example.md)# My Awesome Project
This is a **bold** and *italic* text with `code`.
## Features
- [x] Feature 1
- [ ] Feature 2
- [x] Feature 3
## Code Example
```rust
fn main() {
println!("Hello, World!");
}
| Name | Age | City |
|---|---|---|
| Alice | 25 | New York |
| Bob | 30 | London |
This text is strikethrough
### Output HTML
The tool generates a complete HTML document with:
- Proper HTML5 structure
- GitHub-style CSS
- Responsive design
- Meta tags for better SEO
- Mobile-friendly layout
## Error Handling
The tool provides clear error messages for common issues:
- File not found
- Invalid file paths
- Permission errors
- Conversion failures
## Development
### Building
```bash
cargo build
cargo test
cargo run convert example.md
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under either of
at your option.