{"id":18980620,"url":"https://github.com/sublimetext/astro","last_synced_at":"2025-04-19T19:13:19.071Z","repository":{"id":41535822,"uuid":"500370439","full_name":"SublimeText/Astro","owner":"SublimeText","description":"Astro syntax for Sublime Text","archived":false,"fork":false,"pushed_at":"2025-02-15T14:24:08.000Z","size":204,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T12:05:49.683Z","etag":null,"topics":["astro","astrojs","sublime-text","sublime-text-package","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/Astro","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Destiner/sublime-astro","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SublimeText.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":"2022-06-06T09:30:29.000Z","updated_at":"2025-02-15T14:24:11.000Z","dependencies_parsed_at":"2025-02-15T15:23:06.164Z","dependency_job_id":"a6c5f3d7-d733-42ec-bdac-4ec57a88354a","html_url":"https://github.com/SublimeText/Astro","commit_stats":{"total_commits":56,"total_committers":2,"mean_commits":28.0,"dds":0.25,"last_synced_commit":"a9f42e66ea8994350dd1271c6d6940ea5784a7bb"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FAstro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FAstro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FAstro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2FAstro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeText","download_url":"https://codeload.github.com/SublimeText/Astro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249239337,"owners_count":21235846,"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":["astro","astrojs","sublime-text","sublime-text-package","syntax-highlighting"],"created_at":"2024-11-08T16:07:22.387Z","updated_at":"2025-04-16T12:31:10.776Z","avatar_url":"https://github.com/SublimeText.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"Astro\n=====\n\n[Astro](https://astro.build) syntax definitions for [Sublime Text](https://www.sublimetext.com) based on its HTML, Markdown and JSX syntaxes.\n\n![](preview.png)\n\n## Installation\n\n### Package Control\n\nThe easiest way to install is using [Package Control](https://packagecontrol.io). It's listed as `Astro`.\n\n1. Open `Command Palette` using \u003ckbd\u003ectrl+shift+P\u003c/kbd\u003e or menu item `Tools → Command Palette...`\n2. Choose `Package Control: Install Package`\n3. Find `Astro` and hit \u003ckbd\u003eEnter\u003c/kbd\u003e\n\n### Manual Install\n\n1. Download appropriate [Astro-2.0.0-st4xxx.sublime-package](https://github.com/SublimeText/Astro/releases) for your Sublime Text build.\n   _The `st4xxx` suffix denotes the least required ST build for the sublime-package to work._\n2. Rename it to _Astro.sublime-package_\n3. Copy it into _Installed Packages_ directory\n\n\u003e [!NOTE]\n\u003e\n\u003e To find _Installed Packages_...\n\u003e\n\u003e 1. call _Menu \u003e Preferences \u003e Browse Packages.._\n\u003e 2. Navigate to parent folder\n\n## Requirements\n\n- Astro 2.0.0 requires Sublime Text 4126+\n- Syntax highlighting in `\u003cstyle\u003e` tags is powered by 3rd-party packages\n  - [Less](https://packagecontrol.io/packages/Less)\n  - [PostCSS](https://packagecontrol.io/packages/PostCSS)\n  - [Sass](https://packagecontrol.io/packages/Sass)\n  - [Stylus](https://packagecontrol.io/packages/Stylus)\n- Intellisense features are provided by [LSP](https://packagecontrol.io/packages/LSP) and [LSP-astro](https://packagecontrol.io/packages/LSP-astro).\n\n## Troubleshooting\n\n### §1 Syntax Definition Parse Errors\n\nAstro extends Sublime Text's HTML and Markdown syntax definitions.\n\nIf Astro syntax highlighting doesn't work and console displays syntax errors in _HTML (Astro).sublime-syntax_ or _Markdown (Astro).sublime-syntax_, please make sure to remove any out-dated syntax override.\n\nSteps:\n\n1. call _Menu \u003e Preferences \u003e Browse Packages.._\n2. Look for _HTML_ and _Markdown_ folders\n3. Remove them or at least delete any syntax definition in them.\n\n### §2 Frontmatter or Components are not highlighted\n\nAstro includes TypeScript (`source.ts`) and TSX (`source.tsx`) syntaxes to render Components.\n\nMake sure to remove out-dated TypeScript or TSX syntax packages, which don't meet least compatibility requirements.\n\nThey can be identified by calling `sublime.find_syntax_by_scope(\"source.ts\")` in ST's console.\n\nKnown candidates are:\n\n- [TypeScript](https://packagecontrol.io/packages/TypeScript)\n- [TypeScript Syntax](https://packagecontrol.io/packages/TypeScript%20Syntax)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fastro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimetext%2Fastro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimetext%2Fastro/lists"}