{"id":50914106,"url":"https://github.com/marko-js/zed","last_synced_at":"2026-06-16T13:02:03.562Z","repository":{"id":364655341,"uuid":"1268705515","full_name":"marko-js/zed","owner":"marko-js","description":"Marko language support for the Zed editor.","archived":false,"fork":false,"pushed_at":"2026-06-13T23:35:36.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T00:08:16.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Tree-sitter Query","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/marko-js.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-13T20:59:39.000Z","updated_at":"2026-06-13T23:35:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/marko-js/zed","commit_stats":null,"previous_names":["marko-js/zed"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marko-js/zed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fzed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fzed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fzed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fzed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marko-js","download_url":"https://codeload.github.com/marko-js/zed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marko-js%2Fzed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34406824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-06-16T13:02:02.693Z","updated_at":"2026-06-16T13:02:03.553Z","avatar_url":"https://github.com/marko-js.png","language":"Tree-sitter Query","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marko for Zed\n\n[Marko](https://markojs.com/) language support for [Zed](https://zed.dev):\nsyntax highlighting, embedded-language injections (TypeScript/CSS/SCSS),\nbracket matching, outline, and the\n[Marko language server](https://github.com/marko-js/language-server). It also\nregisters [@marko/ts-plugin](https://github.com/marko-js/language-server/tree/main/packages/ts-plugin)\nso `.marko` imports resolve with types inside `.ts`/`.tsx` files.\n\nThe grammar is the [@marko/tree-sitter](https://github.com/marko-js/tree-sitter)\nparser, fetched and compiled by Zed from the `[grammars.marko]` entry in\n`extension.toml`.\n\n## Layout\n\n```\nextension.toml          # manifest: [grammars.marko] + [language_servers.marko]\nCargo.toml              # Rust/wasm extension crate\nsrc/lib.rs              # installs @marko/language-server and launches it --stdio\nlanguages/marko/\n  config.toml           # filetype, comments, brackets\n  highlights.scm        # copy of the grammar repo's queries/\n  injections.scm        # copy of the grammar repo's queries/\n  brackets.scm          # Zed-specific (@open/@close), maintained here\n  outline.scm           # Zed-specific (@item/@name), maintained here\n```\n\nThe language server (`@marko/language-server`) is installed from npm on demand\ninto the extension's working directory and run with Zed's Node; it bundles its\nown TypeScript, so no project setup is required. For embedded highlighting,\ninstall Zed's TypeScript/CSS/SCSS languages.\n\n## Local development\n\nTo build the grammar from a local checkout instead of GitHub, point\n`[grammars.marko]` at it with a `file://` URL and a committed `rev` (see the\ncomment in `extension.toml`). Then, in Zed, run `zed: install dev extension`\nand select this directory; Zed compiles the Rust extension to wasm and builds\nthe grammar. Open a `.marko` file to exercise it, and run `zed --foreground`\nfrom a terminal to surface grammar build, query, and language-server errors.\n\n`highlights.scm` and `injections.scm` are copies of the grammar repo's\ntool-agnostic `queries/`; refresh them when the grammar changes:\n\n```sh\ncp ../tree-sitter/queries/*.scm languages/marko/\n```\n\n`brackets.scm` (delimiter pairs, `@open`/`@close`) and `outline.scm`\n(`@item`/`@name`) use Zed-only conventions and have no consumer outside Zed,\nso they live here rather than in the grammar repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko-js%2Fzed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarko-js%2Fzed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarko-js%2Fzed/lists"}