Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Creating and Editing

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2025, 08:07 AM   #1
Xray DEV
Junior Member
Xray DEV began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2025
Device: Kindle Scribe
Introducing MD2PDF – Markdown to E-Reader-Optimized PDF Converter

Hi everyone! 👋

I'm excited to share MD2PDF, a free, open-source tool designed to convert Markdown documents (especially those generated by LLMs like ChatGPT, Perplexity, Claude, etc.) into beautifully formatted, PDFs optimized for e-readers including Kindle, Kobo, PocketBook, and tablets.

🌐 Live Demo:
Test all features instantly: https://md2pdf-brixia.streamlit.app/

✨ Key Features

Batch Processing: Upload and combine multiple .md files in one go.

Smart Reordering: Easily organize chapters and sections with drag-and-drop and checkboxes.

Professional Formatting: Uses the Eisvogel LaTeX template for publication-level styling and readability.

Enhanced Code Support: Clean gray backgrounds, syntax highlighting, and line numbers for code blocks.

Custom Title Pages: Easily add a branded, professional title page with custom backgrounds.

Advanced PDF Settings: Configure fonts, sizes, page margins, and metadata; supports clickable links and cross-references.

E-reader Optimization: Output is tuned for e-ink devices and tablets—ideal for on-the-go or long-form reading.

Flexible Deployment: Run locally, via Docker, on Streamlit Cloud, or deploy to Fly.io for production.

Reliability: Robust LaTeX and Pandoc backend ensures maximum compatibility and consistent output.

Preserves ASCII Art and technical formatting.


🛠️ How It Works

Upload Markdown files from AI tools and note apps (Obsidian, Perplexity, ChatGPT, etc.).

Organize chapters/sections as you wish.

Customize layout (fonts, margins, title page, contents).

Convert—generate your professional-grade PDF for reading on Kindle, Kobo, and more.

🎯 Who is it for?

Researchers and students compiling AI-generated content

Knowledge workers reading technical materials offline

Anyone turning Markdown notes into professional reports or e-reader documents

Developers and writers looking for LaTeX-quality PDFs with minimal hassle

⚡ Quickstart

GitHub: https://github.com/XrayFinanceDEV/md2pdf

Docker:

text
docker build -t md2pdf .
docker run -p 8501:8501 md2pdf
Local:

text
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
streamlit run app.py
Production: Deploy on Fly.io (auto-scaling, HTTPS, full LaTeX support)

🔧 Technical Details

Stack: Python (Streamlit), Pandoc, Eisvogel LaTeX template

Requirements: Python ≥3.9, Pandoc, XeLaTeX, Liberation fonts (auto-handled in Docker)

Customization: Document metadata, professional title page, table of contents, advanced code formatting

🆘 Troubleshooting

Handles LaTeX and font compatibility issues automatically.

In-depth docs and deployment tips in the GitHub README.

🤝 Contributing
Open to community feedback and PRs—suggest features or report issues directly on GitHub!

Has anyone else struggled with preparing AI research or notes for reading on e-reader devices? What features would you find most useful?
Excited to hear your ideas and feedback!

Made with ❤️ using Streamlit, Pandoc, and Eisvogel.

GitHub: https://github.com/XrayFinanceDEV/md2pdf
Xray DEV is offline   Reply With Quote
Reply

Tags
kindle scribe, markdown pdf md, pdf conversion


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] MarkdownImport - Markdown to HMTL converter Doitsu Plugins 4 07-26-2022 01:10 PM
Please recommend the best Pdf To epub Converter for mini kobo reader ... vanminh Kobo Reader 29 06-07-2014 09:05 AM
Sony Reader Guide for creating optimized PDF content - Exclusive Preview Bob Russell Sony Reader 51 06-22-2011 11:31 AM
E-Book reader optimized for PDF viewing - Need advice parkerk Which one should I buy? 3 07-16-2010 08:02 AM
PDF optimized? Theeo123 Amazon Kindle 0 04-10-2010 07:17 PM


All times are GMT -4. The time now is 09:32 AM.


MobileRead.com is a privately owned, operated and funded community.