{"id":21107316,"url":"https://github.com/NinjasCL-archive/highlightjs-odin","last_synced_at":"2025-07-08T16:31:39.765Z","repository":{"id":262260883,"uuid":"886699306","full_name":"NinjasCL-archive/highlightjs-odin","owner":"NinjasCL-archive","description":"Odin language grammar for Highlight.js ","archived":true,"fork":false,"pushed_at":"2024-11-11T22:53:53.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T08:57:19.445Z","etag":null,"topics":["grammar","highlightjs","javascript","odin","odin-lang","plugin"],"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/NinjasCL-archive.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}},"created_at":"2024-11-11T12:54:57.000Z","updated_at":"2024-11-27T19:17:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"56daecc7-408e-4350-9050-f0a17336310c","html_url":"https://github.com/NinjasCL-archive/highlightjs-odin","commit_stats":null,"previous_names":["ninjascl/highlightjs-odin","ninjascl-archive/highlightjs-odin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NinjasCL-archive/highlightjs-odin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL-archive%2Fhighlightjs-odin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL-archive%2Fhighlightjs-odin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL-archive%2Fhighlightjs-odin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL-archive%2Fhighlightjs-odin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NinjasCL-archive","download_url":"https://codeload.github.com/NinjasCL-archive/highlightjs-odin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NinjasCL-archive%2Fhighlightjs-odin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264304591,"owners_count":23587990,"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":["grammar","highlightjs","javascript","odin","odin-lang","plugin"],"created_at":"2024-11-20T00:38:37.702Z","updated_at":"2025-07-08T16:31:39.760Z","avatar_url":"https://github.com/NinjasCL-archive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Odin plugin for Highlight.js\n\nThis grammar was [Extracted from Odin Website](https://github.com/odin-lang/odin-lang.org/blob/master/themes/odin/layouts/partials/head.html#L71)\n\nOdin is a general-purpose programming language with distinct typing built\nfor high performance, modern systems and data-oriented programming.\n\nOdin is the C alternative for the Joy of Programming.\n\n```odin\npackage main \n\nimport \"core:fmt\"\n\nmain :: proc() {\n\tfmt.println(\"Hellope!\")\n}\n```\n\nCode minified with: https://www.toptal.com/developers/javascript-minifier\n\n## Installing Odin\n\n- Getting Started - https://odin-lang.org/docs/install/ Instructions for downloading and install the Odin compiler and libraries.\n\n## Learning Odin\n\n- Getting Started - https://odin-lang.org/docs/install/\n- Getting Started with Odin. Downloading, installing, and getting your irst program to compile and run.\n- Overview of Odin - https://odin-lang.org/docs/overview/ An overview of the Odin programming language and its features.\n- Frequently Asked Questions (FAQ) - https://odin-lang.org/docs/faq/ Answers to common questions about Odin. \n\n- Packages - https://pkg.odin-lang.org/ Documentation for all the official packages part of the core and vendor library collections.\n- Nightly Builds - https://odin-lang.org/docs/nightly/ Get the latest nightly builds of Odin.\n- More Odin Examples - https://github.com/odin-lang/examples This repository contains examples of how certain things can be accomplished in idiomatic Odin, allowing you learn its semantics, as well as how to use  parts of the core and vendor package collections.\n\n## Description\n\nodin - a language grammar for highlightjs\n\n### Static website or simple usage\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" charset=\"UTF-8\"\n  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 CDN\n\n```html\n\u003cscript type=\"text/javascript\"\n  src=\"https://unpkg.com/highlightjs-odin@1.0.1/dist/odin.min.js\"\u003e\u003c/script\u003e\n```\n\n- More info: \u003chttps://unpkg.com\u003e\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('highlightjs');\nvar hljsodin = require('highlightjs-odin');\n\nhljs.registerLanguage(\"odin\", hljsodin);\nhljs.highlightAll();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNinjasCL-archive%2Fhighlightjs-odin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNinjasCL-archive%2Fhighlightjs-odin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNinjasCL-archive%2Fhighlightjs-odin/lists"}