Astro syntax definitions for Sublime Text based on its HTML, Markdown and JSX syntaxes.
The easiest way to install is using Package Control. It's listed as Astro.
- Open
Command Paletteusing ctrl+shift+P or menu itemTools → Command Palette... - Choose
Package Control: Install Package - Find
Astroand hit Enter
- Download appropriate Astro-2.0.0-st4xxx.sublime-package for your Sublime Text build.
Thest4xxxsuffix denotes the least required ST build for the sublime-package to work. - Rename it to Astro.sublime-package
- Copy it into Installed Packages directory
To find Installed Packages...
- call Menu > Preferences > Browse Packages..
- Navigate to parent folder
- Astro 2.0.0 requires Sublime Text 4126+
- When running on Sublime Text 4134+ Astro dynamically uses MarkdownEditing's Markdown syntax if present and falls back to ST's default Markdown otherwise.
- Syntax highlighting in
<style>tags is powered by 3rd-party packages - Intellisense features are provided by LSP and LSP-astro.
