{"id":14959447,"url":"https://github.com/highlightjs/highlightjs-shexc","last_synced_at":"2025-10-24T16:31:59.645Z","repository":{"id":54784120,"uuid":"176948105","full_name":"highlightjs/highlightjs-shexc","owner":"highlightjs","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-25T21:11:00.000Z","size":69,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T23:44:01.811Z","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}},"created_at":"2019-03-21T13:16:55.000Z","updated_at":"2022-02-25T21:11:03.000Z","dependencies_parsed_at":"2022-08-14T02:51:26.374Z","dependency_job_id":null,"html_url":"https://github.com/highlightjs/highlightjs-shexc","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-shexc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-shexc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-shexc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-shexc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-shexc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238008495,"owners_count":19401261,"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-09-24T13:19:45.322Z","updated_at":"2025-10-24T16:31:59.228Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](ShEx-Logo.svg)\n\n## Shape Expressions Compact Syntax (ShExC) language syntax highlighting plugin for [highlight.js](https://highlightjs.org/)\n\n[Demo](https://highlightjs.github.io/highlightjs-shexc/)\n\nShEx is a schema language for [RDF](https://en.wikipedia.org/wiki/Resource_Description_Framework). It defines and validates the structural requires for RDF graphs.\n\nFor more about ShEx here:\n\n* [Home Page](http://shex.io/)\n* [Primer](http://shex.io/primer/)\n* [Specification](http://shex.io/spec/)\n* [Shape Maps](http://shex.io/shape-map/)\n* [gitter](https://gitter.im/shapeExpressions/Lobby)\n\n\n## Getting started\n\nYou must add the `highlight.js` file from [highlight.js](https://github.com/highlightjs/highlight.js) in your web page or node app, load up this module and apply it to `hljs`.\n\nIf you are not using a build system and just want to embed this in your webpage:\n\n```javascript\n\u003cscript type=\"text/javascript\" src=\"js/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"js/shexc.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n    hljs.registerLanguage('shexc', window.hljsDefineShExC);\n    hljs.highlightAll();\n\u003c/script\u003e\n```\n\nIf you are using `webpack` or `rollup` or `browserify` or `node`:\n\n```javascript\nvar hljs = require('highlightjs');\nvar hljsDefineShExC = require('highlightjs-shexc');\n\nhljsDefineShExC(hljs);\nhljs.highlightAll();\n```\n\n## Licence\n\n© 2019 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) Eric Prud'hommeaux\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-shexc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-shexc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-shexc/lists"}