{"id":20746913,"url":"https://github.com/johnagan/sublime-html-to-slim","last_synced_at":"2025-04-28T11:21:23.611Z","repository":{"id":12835284,"uuid":"15510744","full_name":"johnagan/sublime-html-to-slim","owner":"johnagan","description":"Converts files, selection and clipboard content from HTML or ERB to Slim using the htm2slim gem","archived":false,"fork":false,"pushed_at":"2013-12-29T16:35:45.000Z","size":104,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T09:05:19.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/johnagan.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}},"created_at":"2013-12-29T15:51:27.000Z","updated_at":"2023-06-02T02:13:58.000Z","dependencies_parsed_at":"2022-08-30T11:32:00.049Z","dependency_job_id":null,"html_url":"https://github.com/johnagan/sublime-html-to-slim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnagan%2Fsublime-html-to-slim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnagan%2Fsublime-html-to-slim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnagan%2Fsublime-html-to-slim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnagan%2Fsublime-html-to-slim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnagan","download_url":"https://codeload.github.com/johnagan/sublime-html-to-slim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251302769,"owners_count":21567601,"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-11-17T08:09:52.060Z","updated_at":"2025-04-28T11:21:23.575Z","avatar_url":"https://github.com/johnagan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML to Slim plugin for Sublime Text 3\n\nConverts files, selection and clipboard content from HTML or ERB to Slim using the [htm2slim gem](https://github.com/slim-template/html2slim).\n\nMost of this code base and this readme is from the [html-to-haml project](https://github.com/pavelpachkovskij/sublime-html-to-haml)\n\n## Installation\n\n### [Sublime Package Control](http://wbond.net/sublime_packages/package_control)\n\nIn the command Pallette choose **Package Control: Install Repository** and select **HTML2Slim**\n\n### Git installation\n\nClone the repository in your Sublime Text \"Packages\" directory:\n\n    git clone git@github.com:JohnAgan/sublime-html-to-slim.git \"HTML2Slim\"\n\nThe \"Packages\" directory is located at:\n\n* OS X:\n\n        ~/Library/Application Support/Sublime Text 3/Packages/\n\n* Linux:\n\n        ~/.config/sublime-text-3/Packages/\n\n* Windows:\n\n        %APPDATA%/Sublime Text 3/Packages/\n\n## Usage\n\n* **Convert hole ERB or HTML file** `Shift+Alt+F` - creates new file in the same folder using the same name as the source ending with '.html.haml'.\n* **Convert selection** `Shift+Alt+S` - replaces selection of HTML or ERB with Slim content.\n* **Convert clipboard content** `Shift+Alt+V` - inserts Slim of converted clipboard HTML or ERB content.\n\n### In Command Palette:\n\n* **HTML2Slim: Convert file**\n* **HTML2Slim: Convert selection**\n* **HTML2Slim: Convert clipboard content**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnagan%2Fsublime-html-to-slim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnagan%2Fsublime-html-to-slim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnagan%2Fsublime-html-to-slim/lists"}