| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A powerful and flexible Markdown to PDF converter built by the BLEU community.
This project is part of the BLEU organization's "Learn by Doing" initiative. It's a community-driven tool that converts Markdown files to beautifully formatted PDFs, making it easy to create professional documentation, reports, and more.
# For macOS, Linux, and WSL
curl -fsSL https://bun.sh/install | bash
# For Windows (via WSL)
# First install WSL if you haven't already:
wsl --install
# Then install Bun inside WSL using the command aboveVerify the installation:
bun --versionbun install @bleu/md-to-pdfimport { mdToPdf } from '@bleu/md-to-pdf';
// Convert a markdown string to PDF
mdToPdf.convert('# Hello World')
.then(pdf => {
// Handle PDF buffer
});
// Convert a markdown file to PDF
mdToPdf.convertFile('input.md', 'output.pdf')
.then(() => {
console.log('Conversion complete!');
});We welcome contributions from developers of all skill levels! This project is part of BLEU's mission to learn by doing, and we believe that contributing to open source is one of the best ways to learn and grow as a developer.
# Clone the repository
git clone https://github.com/BLEU/md-to-pdf.git
# Install dependencies
bun install
# Run tests
bun test
# Build the project
bun run buildPlease read our Code of Conduct before contributing. We are committed to providing a welcoming and inclusive environment for all contributors.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the BLEU Community
| Back | FazBrowse Home | New Git URL |