Hyperscript for Sublime Text
Provides syntax highlighting for the Hyperscript (_hyperscript
) language, both embedded in HTML and in a standalone file.
Hyperscript is the companion project of HTMX. A recommended alternative to Stimulus, Alpine.js, jQuery.
- Event-oriented language.
- Locality of Behaviour instead of verbose javascript modules.
- Async transparency.
- No long event chains / christmas trees.
- Null safe.
- Self-documenting natural syntax inspired by Hypertalk and AppleScript.
- Saves a ton of code in components.
See: A First Look at Hyperscript
(Color scheme: Invader Zim)
Option A (Package Control. 🙏🏻 Soon!): Preferences
➡️ Package Control
➡️ Install Package
➡️ Hyperscript
➡️ ENTER
Turn it on: View
➡️ Syntax
➡️ Hyperscript
➡️ HTML (Hyperscript)
Option B (Direct): Preferences
➡️ Browse Packages ...
➡️ cd User
➡️ Download and extract the latest.
Turn it on: View
➡️ Syntax
➡️ User
or hyperscript-sublime
or Hyperscript
➡️ HTML (Hyperscript)
Enjoy! 🙂 Find the community on the discord! Check out the Hyperscript Cheatsheet!
- HTMX and Hyperscript are sibling projects.
- They are designed to work well together, HTMX for server-interactions and Hyperscript for pure front-end interactions, but neither requires the other.
Tag attributes supported:
_=""
hs=""
data-hs=""
Script tag:
<script type="text/hyperscript"></script>
- Invader Zim 🛸
- Mariana (Built-in)
- Monokai (Built-in)
- Carson Gross, creator of hyperscript and HTMX.
- Deniz Akşimşek (dz4k) for the original syntax highlighter for VS Code / VS Codium.
- deathaxe and jfcherng for ensuring a smooth launch to Sublime Package Control.
- The hyperscript and HTMX community.