Hyperscript
Hyperscript syntax highlighting for Sublime Text. (_hyperscript, HTMX)
Details
Installs
- Total 137
- Win 48
- Mac 48
- Linux 41
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
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.
What is Hyperscript?
- 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
Sample Highlighting
(Color scheme: Invader Zim)
Installation
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!
What is the relationship between HTMX and Hyperscript?
- 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.
Highlighting enabled for…
Tag attributes supported:
_=""
hs=""
data-hs=""
Script tag:
<script type="text/hyperscript"></script>
Suggested Sublime Color Schemes
- Invader Zim 🛸
- Mariana (Built-in)
- Monokai (Built-in)
Special Thanks
- 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.