{"id":19521053,"url":"https://github.com/rodneylab/sveltekit-shiki-code-highlighting","last_synced_at":"2025-04-26T08:31:14.654Z","repository":{"id":41358001,"uuid":"485875602","full_name":"rodneylab/sveltekit-shiki-code-highlighting","owner":"rodneylab","description":"SvelteKit Shiki syntax highlighting: use any VSCode colour theme to accessibly syntax highlight code on your SvelteKit app with line numbers.","archived":false,"fork":false,"pushed_at":"2025-01-15T06:55:18.000Z","size":405,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T10:04:54.244Z","etag":null,"topics":["code-highlight","mdsvex","shiki","shikijs","sveltekit","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodneylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-26T17:00:50.000Z","updated_at":"2025-01-15T06:52:53.000Z","dependencies_parsed_at":"2024-02-29T09:28:57.767Z","dependency_job_id":"eb12378a-043d-4936-88fc-e9df9b5404c3","html_url":"https://github.com/rodneylab/sveltekit-shiki-code-highlighting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsveltekit-shiki-code-highlighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsveltekit-shiki-code-highlighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsveltekit-shiki-code-highlighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodneylab%2Fsveltekit-shiki-code-highlighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodneylab","download_url":"https://codeload.github.com/rodneylab/sveltekit-shiki-code-highlighting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250959612,"owners_count":21514298,"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":["code-highlight","mdsvex","shiki","shikijs","sveltekit","syntax-highlighting"],"created_at":"2024-11-11T00:29:00.599Z","updated_at":"2025-04-26T08:31:14.405Z","avatar_url":"https://github.com/rodneylab.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cimg src=\"./images/rodneylab-github-sveltekit-shiki-code-highlighting.png\" alt=\"Rodney Lab sveltekit-shiki-code-highlighting Github banner\"\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Open Rodney Lab site\" href=\"https://rodneylab.com\" rel=\"nofollow noopener noreferrer\"\u003e\n    \u003cimg alt=\"Rodney Lab logo\" src=\"https://rodneylab.com/assets/icon.png\" width=\"60\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  SvelteKit Shiki Syntax Highlighting\n\u003c/h1\u003e\n\n# sveltekit-shiki-code-highlighting\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/rodneylab/sveltekit-shiki-code-highlighting)\n\nDemo code for Shiki syntax highlighting with SvelteKit. The code accompanies the \u003ca aria-label=\"Open Rodney Lab blog post on Svelte Kit Shiki syntax highlighting\" href=\"https://rodneylab.com/sveltekit-shiki-syntax-highlighting/\"\u003epost on using Shiki code syntax highlighting with SvelteKit\u003c/a\u003e. If you have any questions, please drop a comment at the bottom of that page.\n\n## Building and previewing the site\n\nIf you're seeing this, you've probably already done this step. Congrats!\n\n```bash\ngit clone https://github.com/rodneylab/sveltekit-shiki-code-highlighting.git\ncd sveltekit-shiki-code-highlighting\npnpm install # or npm install\npnpm run dev\n```\n\n## Building\n\n```bash\npnpm run build\n```\n\n\u003e You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.\n\nFeel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fsveltekit-shiki-code-highlighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodneylab%2Fsveltekit-shiki-code-highlighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodneylab%2Fsveltekit-shiki-code-highlighting/lists"}