{"id":16807067,"url":"https://github.com/jguddas/markdown-pdf","last_synced_at":"2026-02-06T02:32:36.164Z","repository":{"id":243527270,"uuid":"812673207","full_name":"jguddas/markdown-pdf","owner":"jguddas","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-31T19:38:06.000Z","size":297,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T15:39:11.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://markdown-pdf-nine.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jguddas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-09T15:02:21.000Z","updated_at":"2024-08-31T19:38:09.000Z","dependencies_parsed_at":"2025-02-20T14:01:03.249Z","dependency_job_id":null,"html_url":"https://github.com/jguddas/markdown-pdf","commit_stats":null,"previous_names":["jguddas/markdown-pdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jguddas/markdown-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguddas%2Fmarkdown-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguddas%2Fmarkdown-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguddas%2Fmarkdown-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguddas%2Fmarkdown-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jguddas","download_url":"https://codeload.github.com/jguddas/markdown-pdf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jguddas%2Fmarkdown-pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29145861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T01:13:33.096Z","status":"online","status_checked_at":"2026-02-06T02:00:08.092Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T09:52:47.988Z","updated_at":"2026-02-06T02:32:36.147Z","avatar_url":"https://github.com/jguddas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-pdf\n\nConvert markdown files to PDF or HTML.\n\n## Requirements\n\n- https://nodejs.org\n- https://www.princexml.com\n- https://poppler.freedesktop.org\n\n### Check that the binaries can be found\n\n```sh\nwhich node prince pdfunite pdfinfo\n```\n\n## Usage\n\n```sh \"pdf\" \"html\"\nnode --import tsx/esm md-to-pdf.ts input.md output.pdf\nnode --import tsx/esm md-to-html.ts input.md output.html\n```\n\n## Features\n\n### Intelligently split pages at headings\n\nWhen generating a PDF with multiple pages, the converter will split the document in a way that the page break does not occur in the middle of a section.\n\n### Heading bar with icons\n\nAt the left side of the page there is a bar with fun icons.\n\n### Pretty code blocks\n\nhttps://rehype-pretty.pages.dev/#usage adds support for syntax highlighting and custom highlighted sections.\n\n### Callout directives\n\nhttps://github.com/Microflash/remark-callout-directives adds support for callout directives like `:::note` and `:::warning`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguddas%2Fmarkdown-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjguddas%2Fmarkdown-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjguddas%2Fmarkdown-pdf/lists"}