{"id":41793028,"url":"https://github.com/tristantheb/mdn-macros-syntax","last_synced_at":"2026-01-25T05:08:09.032Z","repository":{"id":319305083,"uuid":"1078301995","full_name":"tristantheb/mdn-macros-syntax","owner":"tristantheb","description":"Syntax highlighting, snippets, hover and diagnostics for MDN macros and writting.","archived":false,"fork":false,"pushed_at":"2026-01-23T01:01:58.000Z","size":1118,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-23T18:38:18.348Z","etag":null,"topics":["documentation","extension","l10n","macros","mdn","snippets","syntax","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=tristantheb.mdn-macros-syntax","language":"TypeScript","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/tristantheb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-17T14:14:10.000Z","updated_at":"2026-01-23T01:01:48.000Z","dependencies_parsed_at":"2025-10-24T21:07:39.905Z","dependency_job_id":null,"html_url":"https://github.com/tristantheb/mdn-macros-syntax","commit_stats":null,"previous_names":["tristantheb-production/mdn-macros-syntax","tristantheb/mdn-macros-syntax"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tristantheb/mdn-macros-syntax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristantheb%2Fmdn-macros-syntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristantheb%2Fmdn-macros-syntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristantheb%2Fmdn-macros-syntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristantheb%2Fmdn-macros-syntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tristantheb","download_url":"https://codeload.github.com/tristantheb/mdn-macros-syntax/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristantheb%2Fmdn-macros-syntax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28744421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["documentation","extension","l10n","macros","mdn","snippets","syntax","vscode"],"created_at":"2026-01-25T05:08:08.451Z","updated_at":"2026-01-25T05:08:09.021Z","avatar_url":"https://github.com/tristantheb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MDN Macros Syntax VSCode Extension\n\nThis extension provides syntax highlighting and snippets for MDN Macros in Visual Studio Code.\n\n## Features\n\n### Code Highlighting\n\nThe MDN code blocks have 3 keyword types: `interactive-example`, `example-bad`, and `example-good`. Each keyword type has its own color scheme for better readability.\n\n![Code Highlighting in light theme](./docs/images/block-code-colors-light.png)\n![Code Highlighting in dark theme](./docs/images/block-code-colors-dark.png)\n\n### Macros snippets and syntax coloring\n\nAll MDN Macros have snippets and syntax coloring to help you write MDN Macros quickly and accurately.\n\nFor example, trying to type `{{Glossary` will suggest the full macro with a description:\n\n![Example of Glossary completion](./docs/images/macros-completions-glossary-example.png)\n\nThe plugin also provide a typo explainer when a macro is not recognized:\n\n```md example-bad\n{{glossary(\"\")}} // Unknown MDN macro: glossary. Did you mean 'Glossary'? `mdn-macros(unknownMacro)`\n```\n\n```md example-good\n{{Glossary(\"\")}}\n```\n\n### Quick fix macros\n\nWhen a macro is not recognized, a quick fix suggestion is provided to replace it with the correct macro name:\n\n![The error message on the hover tooltip](./docs/images/macros-quick-fix-error-example.png)\n\n![The quick fix suggestion menu when you click on the \"Quick Fix\" lightbulb](./docs/images/macros-quick-fix-menu-example.png)\n\n### Deprecated macros warning\n\nWhen a deprecated macro is used, a warning is shown on hover with information about the deprecation and suggested alternatives.\n\n![The deprecation warning on the hover tooltip](./docs/images/macros-deprecated-warning-example.png)\n\n### Source commit code lens\n\nWhen you're in the localization folder, inside a Markdown document, the frontmatter will show a code lens indicating the source commit hash from the latest english version if your hash is outdated or missing.\n\n| Adding hash                                         | Updating hash                                         |\n| --------------------------------------------------- | ----------------------------------------------------- |\n| ![Example of adding hash](./docs/images/adding-sourceCommit.gif) | ![Example of updating hash](./docs/images/updating-sourceCommit.gif) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristantheb%2Fmdn-macros-syntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftristantheb%2Fmdn-macros-syntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristantheb%2Fmdn-macros-syntax/lists"}