{"id":18718542,"url":"https://github.com/highlightjs/highlightjs-c3","last_synced_at":"2025-08-31T18:32:39.258Z","repository":{"id":152170775,"uuid":"621532480","full_name":"highlightjs/highlightjs-c3","owner":"highlightjs","description":"C3 - a language grammar for highlight.js","archived":false,"fork":false,"pushed_at":"2023-04-21T13:53:38.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-07T13:24:12.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-03-30T21:20:36.000Z","updated_at":"2024-08-09T10:40:43.000Z","dependencies_parsed_at":"2024-01-23T22:06:27.833Z","dependency_job_id":null,"html_url":"https://github.com/highlightjs/highlightjs-c3","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-c3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-c3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-c3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-c3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-c3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231615483,"owners_count":18400983,"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":[],"created_at":"2024-11-07T13:21:52.109Z","updated_at":"2024-12-28T10:48:00.439Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The C3 Programming Language for highlight.js\n\n## Usage\n\n### Static website or simple usage\n\nLoad 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\u003c!DOCTYPE html\u003e\n\u003chead\u003e\n\u003clink rel=\"stylesheet\" href=\"monokai-sublime.min.css\"\u003e\n\u003cscript src=\"highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"c3.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003ehljs.highlightAll();\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cpre\u003e\u003ccode class=\"c3\"\u003e\nimport std::io;\n\nfn void main()\n{\n\tio::printfn(\"hello, world\");\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003c/body\u003e\n\u003c/html\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 hljsC3 = require('highlightjs-c3');\n\nhljs.registerLanguage(\"c3\", hljsC3);\nhljs.highlightAll();\n```\n\n## Links\n\n- The highlight.js GitHub project: \u003chttps://github.com/highlightjs/highlight.js\u003e\n- Learn more about the C3 programming language: \u003chttps://learn-c3.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-c3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-c3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-c3/lists"}