Skip to content

Markdown to PDF Converter Issue #1069

@nishtha-agarwal-211

Description

@nishtha-agarwal-211

Description

Goal: Add a utility that parses a local Markdown file (.md) and exports it into a beautifully styled PDF document (.pdf).

Requirements

  • Python script using a light-weight library like markdown2 + weasyprint, or reportlab, or pdfkit.
  • Gracefully handle headers, bold/italic text, lists, and code blocks.
  • Add command line arguments using argparse to allow selecting:
    • Custom styling themes (e.g., Classic, Modern, Sleek Dark).
    • Output file path.

Deliverables

  • Add utilities/Markdown-PDF-Converter/ directory with markdown_to_pdf.py.
  • Add appropriate package dependencies to requirements.txt.
  • Add unit tests verifying parsing logic.
  • Document usage in a README.md within the new directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions