{"id":17317843,"url":"https://github.com/rbugajewski/km-markdown-listify","last_synced_at":"2025-06-21T09:07:36.281Z","repository":{"id":3383064,"uuid":"4431182","full_name":"rbugajewski/km-markdown-listify","owner":"rbugajewski","description":"Creates Markdown-compatible, properly enumerated nested lists from indented text.","archived":false,"fork":false,"pushed_at":"2012-05-24T10:20:09.000Z","size":95,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T09:07:28.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://juicycocktail.com/","language":"PHP","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/rbugajewski.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2012-05-24T09:38:31.000Z","updated_at":"2025-02-23T23:05:18.000Z","dependencies_parsed_at":"2022-09-05T14:51:11.428Z","dependency_job_id":null,"html_url":"https://github.com/rbugajewski/km-markdown-listify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rbugajewski/km-markdown-listify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbugajewski%2Fkm-markdown-listify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbugajewski%2Fkm-markdown-listify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbugajewski%2Fkm-markdown-listify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbugajewski%2Fkm-markdown-listify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbugajewski","download_url":"https://codeload.github.com/rbugajewski/km-markdown-listify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbugajewski%2Fkm-markdown-listify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095309,"owners_count":23108784,"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":[],"created_at":"2024-10-15T13:17:59.254Z","updated_at":"2025-06-21T09:07:31.267Z","avatar_url":"https://github.com/rbugajewski.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# km-markdown-listify\nkm-markdown-listify is a PHP script for creating nested enumerated Markdown lists from indented plain text. The script is wrapped in a Keyboard Maestro macro, but you can also use it on the command line by passing the plain text as the first argument.\n\n## Installation\n\nWhen you’ll install the macro, you’ll have to move the PHP script to `~/bin/` or change the path inside the macro. I use Dvorak and Keyboard Maestro doesn’t adopt to other layouts well, so you’ll probably have to change the hot key and ⌘C copy keystroke, too.\n\nI use two spaces as an indentation and the script isn’t smart enough to determine your setup. Thus you’ll have to change the config parameter `$indentation` at the top of the PHP script if you use some different (and in my opinion esoteric) indentation format.\n\n## Usage\n\nJust select some text in an application and press the shortcut. The default shortcut for creating nested, indented Markdown lists is ⌃⇧⌘L.\n\nLet the magic happen. Your clipboard will be restored automatically.\n\n## Example\n\nThis:\n\n    My\n    Dog\n      Will eat\n      Your kitten\n        And\n        Destroy Your\n        Mac\n      You are not safe\n        Safety is an illusion\n      You want to buy new apps\n      Of course\n       From Juicy Cocktail\n    Visit [Juicy Cocktail](http://juicycocktail.com/)\n\nwill turn into this in plain text:\n\n    1. My\n    2. Dog\n        1. Will eat\n        2. Your kitten\n            1. And\n            2. Destroy Your\n            3. Mac\n        3. You are not safe\n            1. Safety is an illusion\n        4. You want to buy new apps\n        5. Of course\n        6.  From Juicy Cocktail\n    3. Visit [Juicy Cocktail](http://juicycocktail.com/)\n\nAnd look like this as Markdown output:\n\n1. My\n2. Dog\n    1. Will eat\n    2. Your kitten\n        1. And\n        2. Destroy Your\n        3. Mac\n    3. You are not safe\n        1. Safety is an illusion\n    4. You want to buy new apps\n    5. Of course\n    6.  From Juicy Cocktail\n3. Visit [Juicy Cocktail](http://juicycocktail.com/)\n\nAnd now go and buy some of our apps to support more of this crazy shit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbugajewski%2Fkm-markdown-listify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbugajewski%2Fkm-markdown-listify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbugajewski%2Fkm-markdown-listify/lists"}