{"id":25026431,"url":"https://github.com/marianpekar/highlightjs-odinlang","last_synced_at":"2026-02-10T06:32:12.784Z","repository":{"id":273846290,"uuid":"920905755","full_name":"marianpekar/highlightjs-odinlang","owner":"marianpekar","description":"Highlight.js syntax definition for Odin programming language","archived":false,"fork":false,"pushed_at":"2025-01-27T21:17:24.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T19:20:45.269Z","etag":null,"topics":["highlight-js","highlightjs","npm-package","odin","odin-lang","syntax","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/highlightjs-odinlang","language":"JavaScript","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/marianpekar.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}},"created_at":"2025-01-23T01:19:57.000Z","updated_at":"2025-03-19T13:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ac4a184-b620-40ba-9bb0-e37d015042af","html_url":"https://github.com/marianpekar/highlightjs-odinlang","commit_stats":null,"previous_names":["marianpekar/highlightjs-odinlang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marianpekar/highlightjs-odinlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianpekar%2Fhighlightjs-odinlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianpekar%2Fhighlightjs-odinlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianpekar%2Fhighlightjs-odinlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianpekar%2Fhighlightjs-odinlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marianpekar","download_url":"https://codeload.github.com/marianpekar/highlightjs-odinlang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianpekar%2Fhighlightjs-odinlang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29292094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T03:42:42.660Z","status":"ssl_error","status_checked_at":"2026-02-10T03:42:41.897Z","response_time":65,"last_error":"SSL_read: 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":["highlight-js","highlightjs","npm-package","odin","odin-lang","syntax","syntax-highlighting"],"created_at":"2025-02-05T17:36:24.708Z","updated_at":"2026-02-10T06:32:12.769Z","avatar_url":"https://github.com/marianpekar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# [Highlight.js](https://highlightjs.org/) syntax definition for [Odin](https://odin-lang.com/) programming language\n\n## Usage\n\nSimply include the Highlight.js library in your webpage or Node app, then load this module.\n\n### Static website or simple usage\n\nSimply load the module after loading Highlight.js. You'll use the minified version found in the `dist` directory. This module is just a CDN build of the language, so it will register itself as the Javascript is loaded.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlightjs-odin/dist/odin.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  hljs.highlightAll();\n\u003c/script\u003e\n```\n\n### Using directly from the [UNPKG](https://unpkg.com) CDN\n\n#### Common JS\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/default.min.css\"\u003e\n\u003cscript type=\"text/javascript\" src=\"https://unpkg.com/@highlightjs/cdn-assets@11.11.1/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"https://unpkg.com/highlightjs-odinlang@1.4.0/dist/odin.min.js\"\u003e\u003c/script\u003e\n```\n\n#### ES6 Modules\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/default.min.css\"\u003e\n\u003cscript type=\"module\"\u003e\nimport hljs from 'https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/highlight.min.js';\nimport hljsOdin from 'https://unpkg.com/highlightjs-odinlang@1.4.0/dist/odin.es.min.js';\nhljs.registerLanguage('odin', hljsOdin);\n\u003c/script\u003e\n```\n\n### With Node or another build system\n\nIf you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.\n\n```javascript\nvar hljs = require('highlight.js');\nvar hljsOdin = require('highlightjs-odinlang');\n\n// or with ES modules\nimport hljs from 'highlight.js';\nimport hljsOdin from \"highlightjs-odinlang\"\n\nhljs.registerLanguage(\"odin\", hljsOdin);\nhljs.highlightAll();\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianpekar%2Fhighlightjs-odinlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarianpekar%2Fhighlightjs-odinlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianpekar%2Fhighlightjs-odinlang/lists"}