{"id":15669040,"url":"https://github.com/dcdunkan/deno_shiki","last_synced_at":"2026-02-07T18:34:17.420Z","repository":{"id":59206281,"uuid":"535832981","full_name":"dcdunkan/deno_shiki","owner":"dcdunkan","description":"Shiki ported to Deno","archived":false,"fork":false,"pushed_at":"2022-09-15T11:44:43.000Z","size":1094,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T22:07:12.353Z","etag":null,"topics":["deno","shiki","shiki-highlighter"],"latest_commit_sha":null,"homepage":"https://deno.land/x/shiki","language":"TypeScript","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/dcdunkan.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-09-12T20:07:20.000Z","updated_at":"2023-03-30T18:58:07.000Z","dependencies_parsed_at":"2022-09-13T05:02:49.571Z","dependency_job_id":null,"html_url":"https://github.com/dcdunkan/deno_shiki","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dcdunkan/deno_shiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fdeno_shiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fdeno_shiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fdeno_shiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fdeno_shiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcdunkan","download_url":"https://codeload.github.com/dcdunkan/deno_shiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcdunkan%2Fdeno_shiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deno","shiki","shiki-highlighter"],"created_at":"2024-10-03T14:21:11.433Z","updated_at":"2026-02-07T18:34:17.402Z","avatar_url":"https://github.com/dcdunkan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![](./assets/readme_image.png)\n\n# Shiki\n\nShiki is a beautiful Syntax Highlighter. [Demo](http://shiki.matsu.io).\n\n\u003c/div\u003e\n\nDeno port of [Shiki main repository](https://github.com/shikijs/shiki) and the\npackages (except the Vuepress plugin). Give the original repository a star! All\ncredits goes to the actual authors and maintainers.\n\n```ts\nimport { getHighlighter } from \"https://deno.land/x/shiki/shiki/mod.ts\";\n\nconst highlighter = await getHighlighter({ theme: \"nord\" });\n\nconst code = `console.log(\"A beautiful Syntax Highlighter.\");`;\nconst highlighted = highlighter.codeToHtml(code, { lang: \"js\" });\nconsole.log(highlighted);\n```\n\nIt is recommended to set a local or remote oniguruma WASM file by yourself. By\ndefault it is set to the [onig.wasm](./assets/onig.wasm) file from this\nrepository. You can find the origin file\n[here](https://github.com/microsoft/vscode-oniguruma/blob/v1.6.2/out/onig.wasm).\n\nTo configure one by yourself:\n\n```ts\nimport { setWasm } from \"https://deno.land/x/shiki/shiki/mod.ts\";\n\n// Local file\nawait setWasm(\"./local_onig_wasm_file.wasm\");\n// Remote file (fetched before continuing)\nawait setWasm(\n  \"https://raw.githubusercontent.com/microsoft/vscode-oniguruma/v1.6.2/out/onig.wasm\",\n);\n\n// ... Rest of your code\n```\n\n### Modules\n\nThis repository contains the following ported packages.\n\n- [Shiki](./shiki)\n- [SVG Renderer](./renderer/svg)\n- [Path Renderer](./renderer/path)\n\nModules are confirmed as working as far as I've tested.\n\nGo to the [examples](./examples/) directory to play with Shiki, or try it out on\n[a Deno Deploy playground](https://dash.deno.com/playground/shiki-pg).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Fdeno_shiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcdunkan%2Fdeno_shiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcdunkan%2Fdeno_shiki/lists"}