{"id":13661847,"url":"https://github.com/davidosomething/syntastic-hbstidy","last_synced_at":"2026-02-06T22:33:30.925Z","repository":{"id":141860682,"uuid":"49748900","full_name":"davidosomething/syntastic-hbstidy","owner":"davidosomething","description":"Vim plugin to clean up Handlebars templates BEFORE running Tidy via Syntastic","archived":false,"fork":false,"pushed_at":"2016-01-15T22:38:44.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T05:13:25.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"VimL","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/davidosomething.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":"2016-01-15T22:38:20.000Z","updated_at":"2022-09-29T05:12:58.000Z","dependencies_parsed_at":"2023-03-18T05:00:43.833Z","dependency_job_id":null,"html_url":"https://github.com/davidosomething/syntastic-hbstidy","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/davidosomething%2Fsyntastic-hbstidy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidosomething%2Fsyntastic-hbstidy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidosomething%2Fsyntastic-hbstidy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidosomething%2Fsyntastic-hbstidy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidosomething","download_url":"https://codeload.github.com/davidosomething/syntastic-hbstidy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223979935,"owners_count":17235492,"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-08-02T05:01:42.780Z","updated_at":"2026-02-06T22:33:30.888Z","avatar_url":"https://github.com/davidosomething.png","language":"VimL","funding_links":[],"categories":["VimL"],"sub_categories":[],"readme":"# syntastic-hbstidy\n\n[![Upstream][upstreamBadge]][upstreamLink]\n\n[Syntastic] checker for tidy, specifically for Handlebars templates.\n\n## Description\n\nThis plugin basically strips out the handlebars contents before passing the\ncontents to tidy. It is based (and 90% of the code) is the same as the HTML\ntidy [Syntastic] checker.\n\nThere are also a few new HTML attributes and elements allowed (Microdata\nitemprops, angular ng-attrs, and Facebook `\u003cfb:xml\u003e` elements).\n\n## Installation\n\nThis plugin requires [Syntastic] installed.\n\nIt also requires the `tidy` binary (install `tidy-html5` via homebrew, or any\n`tidy` via your OS package manager).\n\nInstall the plugin as usual, e.g. using vim-plug:\n\n```viml\nPlug 'davidosomething/syntastic-hbstidy'\n```\n\nThen, enable it for your handlebars filetype in your vimrc:\n\n```viml\n\" Map some filetypes, e.g. turn off html checkers on handlebars (I'm using my\n\" hbstidy instead of html tidy)\nlet g:syntastic_filetype_map = {\n      \\   'html.handlebars': 'handlebars',\n      \\ }\n\n\" Use these checkers (handlebars is a different checker, not required for the\n\" hbstidy plugin)\nlet g:syntastic_handlebars_checkers  = ['handlebars', 'hbstidy']\n```\n\n## Configuration\n\nAll the same options as the HTML tidy syntax checker apply, just replace\n`html_tidy` with `handlebars_hbstidy` for all settings variables.  \nRefer to the [syntastic wiki entry for tidy].\n\n\n[upstreamBadge]: https://img.shields.io/badge/upstream-GitHub-lightgrey.svg\n[upstreamLink]:  https://github.com/davidosomething/syntastic-hbstidy\n[Syntastic]: https://github.com/scrooloose/syntastic\n[syntastic wiki entry for tidy]: https://github.com/scrooloose/syntastic/wiki/HTML%3A---tidy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidosomething%2Fsyntastic-hbstidy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidosomething%2Fsyntastic-hbstidy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidosomething%2Fsyntastic-hbstidy/lists"}