{"id":14967755,"url":"https://github.com/mrmlnc/vscode-jade-snippets","last_synced_at":"2026-01-22T01:33:21.933Z","repository":{"id":66009375,"uuid":"53251312","full_name":"mrmlnc/vscode-jade-snippets","owner":"mrmlnc","description":"Jade Snippets for Visual Studio Code.","archived":false,"fork":false,"pushed_at":"2017-07-28T19:53:13.000Z","size":11,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T19:52:06.085Z","etag":null,"topics":["jade","pug","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://goo.gl/MQEbu3","language":null,"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/mrmlnc.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":"2016-03-06T11:27:52.000Z","updated_at":"2020-06-02T23:33:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"198dd04c-e9d3-465a-a09d-d0aea4e6c0b5","html_url":"https://github.com/mrmlnc/vscode-jade-snippets","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"56aace04ecabd41ba61815cd84ba912225569080"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mrmlnc/vscode-jade-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-jade-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-jade-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-jade-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-jade-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmlnc","download_url":"https://codeload.github.com/mrmlnc/vscode-jade-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmlnc%2Fvscode-jade-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28649450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"ssl_error","status_checked_at":"2026-01-22T01:17:35.564Z","response_time":86,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jade","pug","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-09-24T13:38:33.669Z","updated_at":"2026-01-22T01:33:21.913Z","avatar_url":"https://github.com/mrmlnc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jade (now Pug) Snippets for Visual Studio Code\n\n\u003e Provides a base set of snippets for Jade (now Pug).\n\n## Install\n\n  * Press `F1` and select `Extensions: Install Extensions`.\n  * Search for and select `jade snippets`.\n\nSee the [extension installation guide](https://code.visualstudio.com/docs/editor/extension-gallery) for details.\n\n## Supported languages\n\n  * Pug\n  * Jade\n\n## Snippets\n\n### Elements\n\n```jade\n// a|\na(href=\"#\", title=\"title\").class $0\n\n// figure|\nfigure\n    img(src=\"source\", alt=\"alt\").class\n    figcaption $0\n```\n\nSnippet for `img` deleted in *1.0.0* version. Emmet works fine with Pug (ex. Jade). See [CheatSheet](http://docs.emmet.io/cheat-sheet/).\n\n### Attributes\n\n```jade\n// Attributes for styling and controlling\nclass| → class=\"\"$0\nid|    → id=\"\"$0\n\n// Common attributes\ndata| → data-*=\"\"$0\naria| → aria-*=\"\"$0\nrole| → role=\"\"$0\n\n// Attributes for form settings\nmethod| → method=\"\"$0\naction| → action=\"\"$0\n\n// Attributes for form elements\ntype|        → type=\"\"$0\nname|        → name=\"\"$0\nplaceholder| → placeholder=\"\"$0\nvalue|       → value=\"\"$0\n```\n\n### Scripts\n\n```jade\n//script|\nscript(src=\"file.js\")\n$0\n\n// script:inline|\nscript.\n    $1\n$0\n\n// script:include|\nscript\n    include ./file.js\n$0\n```\n\n### Styles\n\n```jade\n// link|\nlink(href=\"file.css\", rel=\"stylesheet\")\n$0\n\n// style|\nstyle.\n    $1\n$0\n\n// style:include|\nstyle\n    include ./file.css\n$0\n```\n\n### Syntax\n\n```jade\n// var|\n- var name = $0\n\n// block|\nblock name\n    $1\n$0\n\n// case|\ncase variable\n    when condition\n        code\n    default\n        code\n$0\n\n// each|\neach val in []\n    $1\n$0\n\n// while|\nwhile condition\n    $1\n$0\n\n// extends|\nextends ./file.jade\n$0\n\n// include|\ninclude ./file.jade\n$0\n\n// mixin|\nmixin name(vars)\n    $1\n$0\n\n// mixin:call|\n```jade\n+name(attrs)(attrs)\n$0\n```\n\n## Changelog\n\nSee the [Releases section of our GitHub project](https://github.com/mrmlnc/vscode-jade-snippets/releases) for changelogs for each release version.\n\n## License\n\nThis software is released under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-jade-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmlnc%2Fvscode-jade-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmlnc%2Fvscode-jade-snippets/lists"}