{"id":19120155,"url":"https://github.com/tcd/md2pdf","last_synced_at":"2025-07-14T19:33:18.848Z","repository":{"id":101433161,"uuid":"200279360","full_name":"tcd/md2pdf","owner":"tcd","description":"📜 Generate PDFs from Markdown files","archived":false,"fork":false,"pushed_at":"2023-02-24T22:55:11.000Z","size":54085,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T10:27:39.452Z","etag":null,"topics":["ghfm","golang","markdown","md2pdf","pdf"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tcd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-02T18:18:06.000Z","updated_at":"2023-08-18T03:49:02.000Z","dependencies_parsed_at":"2024-06-20T07:01:26.971Z","dependency_job_id":"45aa9908-bb02-4476-84d1-cff1d927b141","html_url":"https://github.com/tcd/md2pdf","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd%2Fmd2pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd%2Fmd2pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd%2Fmd2pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcd%2Fmd2pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcd","download_url":"https://codeload.github.com/tcd/md2pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252531831,"owners_count":21763290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ghfm","golang","markdown","md2pdf","pdf"],"created_at":"2024-11-09T05:12:58.834Z","updated_at":"2025-05-05T16:09:09.430Z","avatar_url":"https://github.com/tcd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md2pdf\n\n\u003c!-- [![Golang Documentation](https://godoc.org/github.com/tcd/md2pdf?status.svg)](https://godoc.org/github.com/tcd/md2pdf) --\u003e\n[![Build Status](https://travis-ci.org/tcd/md2pdf.svg?branch=master)](https://travis-ci.org/tcd/md2pdf)\n[![Coverage Status](https://coveralls.io/repos/github/tcd/md2pdf/badge.svg)](https://coveralls.io/github/tcd/md2pdf)\n[![GitHub issues](https://img.shields.io/github/issues/tcd/md2pdf.svg)](https://github.com/tcd/md2pdf/issues)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftcd%2Fmd2pdf.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftcd%2Fmd2pdf?ref=badge_shield)\n[![License](https://img.shields.io/github/license/tcd/md2pdf.svg)](https://github.com/tcd/md2pdf/blob/master/LICENSE)\n\n![fancy-gif](https://raw.githubusercontent.com/dunstontc/assets/master/gifs/fanciness.gif)\n\n## About\n\nParse markdown files and output PDFs that resemble GitHub's markdown rendering.\n\n### What's Supported?\n\n- Paragraphs\n- Blockquotes\n- Codeblocks\n    - Syntax highlighting provided by [Chroma](https://github.com/alecthomas/chroma)\n- All kinds of emphasis:\n    - **Bold**\n    - *Italic*\n    - `Code`\n    - ~~Strike~~\n    - [Links](https://github.com/tcd/md2pdf)\n- Images\n    - jpeg, png, and gif\\*\n      - Only the first frame of a gif is drawn to the pdf :pensive:\n- Headers\n- Horizontal Rules\n- Links\n    - Links on images\n    - External Links\n- Tables\n\n### What Isn't Supported?\n\n- [No Emoji 😔](https://github.com/jung-kurt/gofpdf/issues/255)\n- No SVG \n- No Inline HTML\n\n## Installation\n\n### Homebrew\n\n```sh\nbrew tap tcd/taps\nbrew install tcd/taps/md2pdf\n```\n\n### Building from Source\n\n```bash\ngo get -u github.com/tcd/md2pdf\ncd $GOPATH/github.com/tcd/md2pdf\nmake install # GO111MODULE=on go install\n```\n\n## Usage\n\n```sh\n# will generate markdown-file.pdf in your current directory.\nmd2pdf path/to/markdown-file.md\n```\n\n## Related Projects\n\n- [mandolyte/mdtopdf](https://github.com/mandolyte/mdtopdf) - Markdown to PDF \n- [ajstarks/deck](https://github.com/ajstarks/deck) - Slide Decks\n- [johnfercher/maroto](https://github.com/johnfercher/maroto) - A maroto way to create PDFs.\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftcd%2Fmd2pdf.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftcd%2Fmd2pdf?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcd%2Fmd2pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcd%2Fmd2pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcd%2Fmd2pdf/lists"}