{"id":18920984,"url":"https://github.com/gnat/hyperscript-sublime","last_synced_at":"2025-09-11T14:03:46.710Z","repository":{"id":42200462,"uuid":"479989265","full_name":"gnat/hyperscript-sublime","owner":"gnat","description":"Hyperscript syntax highlighting for Sublime Text. (_hyperscript, HTMX)","archived":false,"fork":false,"pushed_at":"2022-07-07T09:39:51.000Z","size":46,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-31T16:50:14.985Z","etag":null,"topics":["event-oriented-programming","frontend","htmx","hypercard","hyperscript","hypertext","sublime-text","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/Hyperscript","language":null,"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/gnat.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}},"created_at":"2022-04-10T10:53:53.000Z","updated_at":"2024-01-13T04:18:31.000Z","dependencies_parsed_at":"2022-09-17T16:21:07.137Z","dependency_job_id":null,"html_url":"https://github.com/gnat/hyperscript-sublime","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnat%2Fhyperscript-sublime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnat%2Fhyperscript-sublime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnat%2Fhyperscript-sublime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnat%2Fhyperscript-sublime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnat","download_url":"https://codeload.github.com/gnat/hyperscript-sublime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921872,"owners_count":19718841,"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":["event-oriented-programming","frontend","htmx","hypercard","hyperscript","hypertext","sublime-text","syntax-highlighting"],"created_at":"2024-11-08T10:44:56.451Z","updated_at":"2025-02-20T21:39:54.531Z","avatar_url":"https://github.com/gnat.png","language":null,"readme":"# [Hyperscript](https://hyperscript.org) for Sublime Text\n\nProvides syntax highlighting for the Hyperscript (`_hyperscript`) language, both embedded in HTML and in a standalone file.\n\n[Hyperscript](https://hyperscript.org) is the companion project of [HTMX](https://htmx.org). A recommended alternative to Stimulus, Alpine.js, jQuery.\n\n\u003ca href=\"https://github.com/gnat/hyperscript-sublime/tags\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/tag/gnat/hyperscript-sublime?label=release\u0026style=for-the-badge\u0026color=%230288D1\" /\u003e\u003c/a\u003e\n\u003c!--\u003ca href=\"https://packagecontrol.io/packages/Sublime%20Outline%20Notes%20Publisher\"\u003e\n    \u003cimg src=\"https://img.shields.io/packagecontrol/dt/Sublime%20Outline%20Notes%20Publisher?style=for-the-badge\u0026color=%2315b713\" /\u003e\u003c/a\u003e--\u003e\n\u003ca href=\"https://www.sublimetext.com/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Only%20For-Sublime-ff9800?logo=sublime%20text\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n\n### What is Hyperscript?\n\n* Event-oriented language.\n* [Locality of Behaviour](https://htmx.org/essays/locality-of-behaviour) instead of verbose javascript modules.\n* Async transparency.\n* No long event chains / christmas trees.\n* Null safe.\n* Self-documenting natural syntax inspired by [Hypertalk](https://en.wikipedia.org/wiki/HyperTalk) and [AppleScript](https://en.wikipedia.org/wiki/AppleScript).\n* Saves a ton of code in components.\n\nSee: [A First Look at Hyperscript](https://putyourlightson.com/articles/a-first-look-at-hyperscript)\n\n[![What is hyperscript / HTMX ?](http://img.youtube.com/vi/u2rjnLJ1M98/0.jpg)](http://www.youtube.com/watch?v=u2rjnLJ1M98 \"What is hyperscript / HTMX ?\")\n\n### Sample Highlighting\n\n![image](https://user-images.githubusercontent.com/24665/174639996-2daf319b-2d4c-4be7-93ac-4b3540908c2c.png)\n(Color scheme: [Invader Zim](https://github.com/gnat/sublime-invader-zim))\n\n### Installation\n\nOption A (Package Control. 🙏🏻 Soon!): `Preferences` ➡️ `Package Control` ➡️ `Install Package` ➡️ `Hyperscript` ➡️ ENTER\n\nTurn it on: `View` ➡️ `Syntax` ➡️ `Hyperscript` ➡️ `HTML (Hyperscript)`\n\nOption B (Direct): `Preferences` ➡️ `Browse Packages ...` ➡️ `cd User` ➡️ [Download and extract the latest.](https://github.com/gnat/hyperscript-sublime/archive/refs/heads/main.zip)\n\nTurn it on: `View` ➡️ `Syntax` ➡️ `User` or `hyperscript-sublime` or `Hyperscript` ➡️ `HTML (Hyperscript)`\n\nEnjoy! 🙂 Find the community [on the discord](https://htmx.org/discord)! Check out the [Hyperscript Cheatsheet](https://thisweek.htmx.org/assets/2021-12-19/hyperscript-cheatsheet.pdf)!\n\n### What is the relationship between HTMX and Hyperscript?\n\n* HTMX and Hyperscript are sibling projects.\n* They are designed to work well together, HTMX for server-interactions and Hyperscript for pure front-end interactions, but neither requires the other.\n\n### Highlighting enabled for...\n\nTag attributes supported:\n\n* `_=\"\"`\n* `hs=\"\"`\n* `data-hs=\"\"`\n\nScript tag:\n\n* `\u003cscript type=\"text/hyperscript\"\u003e\u003c/script\u003e`\n\n### Suggested Sublime Color Schemes\n\n* [Invader Zim](https://github.com/gnat/sublime-invader-zim) 🛸\n* Mariana (Built-in)\n* Monokai (Built-in)\n\n### Special Thanks\n\n* [Carson Gross](https://github.com/bigskysoftware), creator of hyperscript and HTMX.\n* [Deniz Akşimşek (dz4k)](https://github.com/dz4k) for the original syntax highlighter for VS Code / VS Codium.\n* [deathaxe](https://github.com/deathaxe) and [jfcherng](https://github.com/jfcherng) for ensuring a smooth launch to Sublime Package Control.\n* The hyperscript and HTMX community.\n\n### References\n\n* [Hyperscript](https://hyperscript.org/)\n* [HTMX](https://htmx.org)\n* [A first look at Hyperscript](https://putyourlightson.com/articles/a-first-look-at-hyperscript)\n* [Hyperscript Cheatsheet](https://thisweek.htmx.org/assets/2021-12-19/hyperscript-cheatsheet.pdf)\n* [Plugin for VSCode](https://marketplace.visualstudio.com/items?itemName=dz4k.vscode-hyperscript-org)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnat%2Fhyperscript-sublime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnat%2Fhyperscript-sublime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnat%2Fhyperscript-sublime/lists"}