{"id":24289300,"url":"https://github.com/rla/infdot-doc","last_synced_at":"2026-04-27T16:32:42.085Z","repository":{"id":147869227,"uuid":"89748975","full_name":"rla/infdot-doc","owner":"rla","description":"A personal project to evaluate PDFKit by turning a subset of Markdown into PDF.","archived":false,"fork":false,"pushed_at":"2017-04-28T23:21:57.000Z","size":271,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T11:52:31.420Z","etag":null,"topics":["markdown","nodejs","pdf","pdf-generation","pdfkit"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rla.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":"2017-04-28T22:23:06.000Z","updated_at":"2023-03-04T06:28:30.000Z","dependencies_parsed_at":"2023-05-02T08:58:09.134Z","dependency_job_id":null,"html_url":"https://github.com/rla/infdot-doc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rla/infdot-doc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rla%2Finfdot-doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rla%2Finfdot-doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rla%2Finfdot-doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rla%2Finfdot-doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rla","download_url":"https://codeload.github.com/rla/infdot-doc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rla%2Finfdot-doc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32345802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["markdown","nodejs","pdf","pdf-generation","pdfkit"],"created_at":"2025-01-16T10:51:50.614Z","updated_at":"2026-04-27T16:32:42.068Z","avatar_url":"https://github.com/rla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infdot-doc\n\nA personal project to evaluate [PDFKit][pdfkit]. It contains a\nvery small Markdown subset to enter headings, paragraph blocks,\nbulleted lists and images. Document options are configured with\nHTML comments.\n\n[pdfkit]:http://pdfkit.org/\n\n## Usage\n\n```\ninfdot-doc -i doc.md -o doc.pdf\n```\n\n## Example\n\n * Input file: [example/example.md][input].\n * Output file: [example/output.pdf][output].\n\n[input]:https://raw.githubusercontent.com/rla/infdot-doc/master/example/example.md\n[output]:https://raw.githubusercontent.com/rla/infdot-doc/master/example/example.pdf\n\n## Installation\n\n```\nnpm install git+https://github.com/rla/infdot-doc.git -g\n```\n\n## Markdown subset\n\nParagraphs are blocks continuous text. Line ends do not matter.\n\nHeadings:\n\n```\n# Heading level 1\n## Heading level 2\n```\n\nBulleted list (single level):\n\n```\n* Item 1\n* Item 2\n* Item 3\n```\n\nImage (scaled to full width):\n\n```\n![description](screenshot.png)\n```\n\nDescription does not appear anywhere but is useful for writing.\n\nForced page break:\n\n```\n---\n```\n\n### Document settings\n\nDocument setting are specified using the HTML comment syntax:\n\n```\n\u003c!-- Size: A4 --\u003e\n```\n\nAvailable options are:\n\n * Size - page [size][sizes] (default A4);\n * FontSize - font size in units (default 12);\n * TitleFontSize - heading font size (default 25);\n * Author - document author name;\n * Header - text displayed in the header.\n * MarginTop - page top margin (default 98);\n * MarginLeft - page left margin (default 72);\n * MarginBottom - page bottom margin (default 72);\n * MarginRight - page right margin (default 72).\n\n[sizes]:https://github.com/devongovett/pdfkit/blob/b13423bf0a391ed1c33a2e277bc06c00cabd6bf9/lib/page.coffee#L72\n\n## License\n\nIf you would like to use some code from here then do so under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frla%2Finfdot-doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frla%2Finfdot-doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frla%2Finfdot-doc/lists"}