Skip to content

Feature Request: create Linux command-line version to do converting from markdown to HTML files and PDFs #129

@ElectricRCAircraftGuy

Description

@ElectricRCAircraftGuy

Currently I use your tool manually to view a markdown file in Chrome then print it to a PDF from Chrome. See my answer here: https://superuser.com/questions/689056/how-can-i-convert-github-flavored-markdown-to-a-pdf/1591372#1591372.

However, I'd really like to be able to automate this by running a single command from the command-line. Perhaps you could help make this happen?

Example usage:

markdown2pdf readme.md  # convert readme.md to readme.pdf

If not, where should I begin in your code? If it is super simple I might be able to make time for it to do the PR myself.


Note: you may need to use Chrome's headless mode somehow to open and save a markdown to HTML file as PDF? See here and here and here: https://developers.google.com/web/updates/2017/04/headless-chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions