{"id":35234084,"url":"https://github.com/tahsinmert/markdown-pdf-converter","last_synced_at":"2026-04-28T14:34:16.476Z","repository":{"id":330353121,"uuid":"1121867938","full_name":"tahsinmert/markdown-pdf-converter","owner":"tahsinmert","description":"🚀 A modern Markdown to PDF converter with GUI \u0026 CLI support, custom CSS styling, emoji rendering, and syntax highlighting. Built with Python, WeasyPrint \u0026 Tkinter.","archived":false,"fork":false,"pushed_at":"2025-12-24T21:45:51.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-26T11:36:56.153Z","etag":null,"topics":["command-line-tool","converter","document-converter","gui","markdown","markdown-editor","markdown-parser","markdown-to-pdf","pdf","pdf-converter","pdf-generator","pdf-tool","python","tkinter","weasyprint"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tahsinmert.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-23T17:28:57.000Z","updated_at":"2025-12-24T21:45:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tahsinmert/markdown-pdf-converter","commit_stats":null,"previous_names":["tahsinmert/markdown-pdf-converter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tahsinmert/markdown-pdf-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahsinmert%2Fmarkdown-pdf-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahsinmert%2Fmarkdown-pdf-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahsinmert%2Fmarkdown-pdf-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahsinmert%2Fmarkdown-pdf-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tahsinmert","download_url":"https://codeload.github.com/tahsinmert/markdown-pdf-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahsinmert%2Fmarkdown-pdf-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","converter","document-converter","gui","markdown","markdown-editor","markdown-parser","markdown-to-pdf","pdf","pdf-converter","pdf-generator","pdf-tool","python","tkinter","weasyprint"],"created_at":"2025-12-30T03:27:03.302Z","updated_at":"2026-04-28T14:34:16.471Z","avatar_url":"https://github.com/tahsinmert.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown to PDF Converter 📄\n\nA Python program that converts Markdown files to professional PDFs. Includes custom CSS support and emoji support.\n\n## Features ✨\n\n- 🖥️ **Graphical Interface (GUI)**: User-friendly graphical interface\n- 💻 **Command Line**: Use from terminal\n- 🎨 **Custom CSS Support**: Use your own CSS file\n- 😊 **Emoji Support**: Emojis display properly in PDF\n- 📝 **Rich Markdown Support**: Tables, code blocks, syntax highlighting\n- 🔢 **Page Numbering**: Automatic page numbers\n- 📊 **Table Support**: Markdown tables look great\n- 💻 **Code Blocks**: Code blocks with syntax highlighting\n- 🎯 **Wildcard Support**: Process multiple files at once\n- 📊 **Progress Tracking**: Process status and logs in GUI\n\n## Installation 🚀\n\n1. Install required packages:\n\n```bash\npip install -r requirements.txt\n```\n\n**Note**: WeasyPrint may require some system dependencies:\n\n- **macOS**: `brew install cairo pango gdk-pixbuf libffi`\n- **Ubuntu/Debian**: `sudo apt-get install python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0`\n- **Windows**: Usually installs automatically\n\n## Usage 📖\n\n### Graphical Interface (GUI) 🖥️\n\nYou can use the graphical interface for the easiest usage:\n\n**Open with a single command:**\n```bash\n./md2pdf\n```\n\nor\n\n```bash\npython md_to_pdf_gui.py\n```\n\n**Add to PATH for access from anywhere:**\n```bash\n# For macOS/Linux, add to ~/.zshrc or ~/.bashrc file:\nexport PATH=\"$PATH:/Users/tahsinmert/Desktop/md_to_pdf\"\n\n# Then you can run from anywhere:\nmd2pdf\n```\n\nGUI features:\n- 📁 File selection dialogs\n- 🎨 CSS file selection (optional)\n- 📄 Output PDF file specification\n- 📊 Progress bar\n- 📝 Process logs\n- ✅ Success/error messages\n- 🚀 One-click conversion\n\n### Command Line Usage 💻\n\n#### Basic Usage\n\n```bash\npython md_to_pdf.py file.md\n```\n\nThis command creates `file.pdf`.\n\n#### Specify Output File\n\n```bash\npython md_to_pdf.py file.md -o output.pdf\n```\n\n#### Using Custom CSS\n\n```bash\npython md_to_pdf.py file.md -c custom.css\n```\n\n#### Processing Multiple Files\n\n```bash\npython md_to_pdf.py file1.md file2.md file3.md\n```\n\nor using wildcards:\n\n```bash\npython md_to_pdf.py *.md\n```\n\n## Example Markdown File\n\nYou can use the `ornek.md` file to test the program:\n\n```bash\npython md_to_pdf.py ornek.md\n```\n\n## Custom CSS Customization 🎨\n\nYou can fully customize your PDF's appearance by editing the `custom.css` file. An example CSS file is available in the project.\n\n### CSS Features\n\n- Page size and margins\n- Font families and sizes\n- Colors and backgrounds\n- Table styles\n- Code block styles\n- Header and footer areas\n\n## Supported Markdown Features\n\n- ✅ Headings (H1-H6)\n- ✅ Paragraphs\n- ✅ **Bold** and *italic* text\n- ✅ Code blocks and inline code\n- ✅ Syntax highlighting\n- ✅ Tables\n- ✅ Lists (ordered and unordered)\n- ✅ Blockquotes\n- ✅ Links\n- ✅ Images\n- ✅ Horizontal rules\n- ✅ Emojis 😊 🎉 ✨\n\n## Troubleshooting 🔧\n\n### WeasyPrint Installation Issues\n\nIf you're having trouble installing WeasyPrint:\n\n**macOS:**\n```bash\nbrew install cairo pango gdk-pixbuf libffi\npip install weasyprint\n```\n\n**Ubuntu/Debian:**\n```bash\nsudo apt-get install python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0\npip install weasyprint\n```\n\n### Emojis Not Displaying\n\nFor emojis to display properly, emoji fonts must be installed on your system. They are usually installed on macOS and modern Linux distributions.\n\n## License 📜\n\nThis project is free to use.\n\n## Contributing 🤝\n\nFeel free to open an issue for your suggestions and contributions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahsinmert%2Fmarkdown-pdf-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftahsinmert%2Fmarkdown-pdf-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahsinmert%2Fmarkdown-pdf-converter/lists"}