{"id":23498045,"url":"https://github.com/freedomben/kd","last_synced_at":"2025-08-12T02:36:39.941Z","repository":{"id":31265885,"uuid":"34827615","full_name":"FreedomBen/kd","owner":"FreedomBen","description":"The source code for the kd gem","archived":false,"fork":false,"pushed_at":"2015-04-30T01:45:51.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-16T07:15:08.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/FreedomBen.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}},"created_at":"2015-04-30T01:32:48.000Z","updated_at":"2015-04-30T01:45:51.000Z","dependencies_parsed_at":"2022-09-09T07:20:45.444Z","dependency_job_id":null,"html_url":"https://github.com/FreedomBen/kd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FreedomBen/kd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fkd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fkd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fkd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fkd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreedomBen","download_url":"https://codeload.github.com/FreedomBen/kd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreedomBen%2Fkd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269990461,"owners_count":24508854,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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-12-25T05:18:05.501Z","updated_at":"2025-08-12T02:36:39.906Z","avatar_url":"https://github.com/FreedomBen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## kd\n\n`kd` is a gem that provides a command line program that converts kramdown/markdown documents to pdf and html.\n\n`kd` uses [kramdown](https://github.com/gettalong/kramdown) to parse and convert the documents.  The benefit you get over kramdown is a much easier interface.  To get this of course you give up a lot more power and flexibility.  Check out the [kramdown](https://github.com/gettalong/kramdown) gem for more info.\n\nUsage:  Simply pass a list of input files as arguments, and `kd` will convert them to pdf and html.  If you want _only_ pdf or _only_ html, you can pass a -p or -h flag respectively.  The long form is --pdf or --html\n\n    kd \u003cinput-file-1\u003e [input-file-2] ... [-h|--html] [-p|--pdf]\n\n        When provided with no flags (only input files), both html and pdf will be generated\n\nExamples:\n\n    kd doc1.md                 # converts doc1.md to doc1.html and doc1.pdf\n    kd doc1.md --pdf           # converts doc1.md to doc1.pdf\n    kd doc1.md --html          # converts doc1.md to doc1.html\n    kd doc1.md doc2.md doc3.md # converts doc1.md, doc2.md, and doc3.md to pdf and html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreedomben%2Fkd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreedomben%2Fkd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreedomben%2Fkd/lists"}