{"id":14971245,"url":"https://github.com/highlightjs/highlightjs-raku","last_synced_at":"2025-10-26T14:31:42.142Z","repository":{"id":54883782,"uuid":"291613623","full_name":"highlightjs/highlightjs-raku","owner":"highlightjs","description":"Highlight.js grammar definition for Raku (Perl 6)","archived":false,"fork":false,"pushed_at":"2024-11-17T11:15:12.000Z","size":46,"stargazers_count":8,"open_issues_count":6,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-31T20:52:06.666Z","etag":null,"topics":["raku","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":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highlightjs.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":"2020-08-31T04:24:11.000Z","updated_at":"2024-11-17T11:15:16.000Z","dependencies_parsed_at":"2022-08-14T05:40:37.454Z","dependency_job_id":null,"html_url":"https://github.com/highlightjs/highlightjs-raku","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/highlightjs%2Fhighlightjs-raku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-raku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-raku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-raku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-raku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347843,"owners_count":19457002,"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":["raku","syntax-highlighting"],"created_at":"2024-09-24T13:44:55.071Z","updated_at":"2025-10-26T14:31:36.881Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raku Language Definition for Highlight.js library\n\u003e\n----\n## Table of Contents\n[Packaging](#packaging)\n[LICENSE](#license)\n[Credits](#credits)\n[Contributing](#contributing)\n\n----\nThe development of this module has stalled at the testing stage due to other projects taking priority and ***it does not yet work***. Help is needed. Please contact *finanalyst*.\n\nThis is the language definition fileset to describe [Raku](https://raku.org) for `highlight.js`.\n\nIt is composed of four language definition files, one for the main language, and one each for the braids, namely `Pod`, `Quoting`, and `Regex`.\n\n# Packaging\nSimply include the `highlight.js` script package in your webpage or Node app, load up this module, and apply it to `hljs`.\n\nIf you're not using a build system and just want to embed this in your webpage:\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/highlightjs\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/highlightjs-raku\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n  hljs.registerLanguage(\"raku\", window.hljsDefineRaku);\n  hljs.highlightAll();\n\u003c/script\u003e\n```\nIf you're using webpack / rollup / browserify / node:\n\n```js\nvar hljs = require(\"highlightjs\");\nvar hljsDefineVue = require(\"highlightjs-raku\");\n\nhljsDefineRaku(hljs);\nhljs.highlightAll();\n```\n# LICENSE\nThis software is provided under Artistic 2.0, the same license as [Raku license](https://raku.org/LICENSE)\n\n# Credits\nThe language definition fileset was initiated by Richard Hainsworth, aka finanalyst.\n\nOther contributors:\n\n# Contributing\nAll contributions are welcome. Please create a PR.\n\nHighlighting a complex language such as **Raku** involves decisions about which items are important and should be styled differently. Two existing highlighting systems for **Raku** existed before this language definition was created, namely a highlighter written for **Atom** by Samanatha McVie, and the highlighting for the **Comma IDE** managed by Jonathan Worthington. The essential choices can be found in the repo as `Comma_RakuHighlighting.txt` and `perl6fe.cson`.\n\n**Highlightjs** already has numerous styles, which colour various `modes`. Most style definitions target the `modes`. So the mode names were chosen to match as closely the semantic names, but where **Raku** is different, another almost random mode-name was chosen.\n\n**Raku** has three separate braids for `Pod`, `Quoting`, and `Regex`. In nearly all other languages these three categories are treated as `Strings` or `Documentation`. In **Raku** they are far more important and complex. Consequently, they have been separated into sublanguages. Their `modes` are styled using different mode names.\n\nIf there is a need, then another style sheet can be established for **Raku**, so that the braids can be distinguished in a more consistent manner.\n\n\n\n\n\n\n\n\n----\nRendered from extra/raku/README at 2020-09-22T20:22:31Z\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-raku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-raku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-raku/lists"}