Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

highlightjs-shexc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlightjs-shexc

Shape Expressions Compact Syntax (ShExC) syntax highlighting plugin for highlight.js

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-64.29%
Maintainers
1
Weekly downloads
 
Created
Source

logo

Shape Expressions Compact Syntax (ShExC) language syntax highlighting plugin for highlight.js

Demo

ShEx is a schema language for RDF. It defines and validates the structural requires for RDF graphs.

For more about ShEx here:

Getting started

You must add the highlight.js file from highlight.js in your web page or node app, load up this module and apply it to hljs.

If you are not using a build system and just want to embed this in your webpage:

<script type="text/javascript" src="js/highlight.pack.js"></script>
<script type="text/javascript" src="js/shexc.js"></script>
<script type="text/javascript">
    hljs.registerLanguage('shexc', window.hljsDefineShExC);
    hljs.initHighlightingOnLoad();
</script>

If you are using webpack or rollup or browserify or node:

var hljs = require('highlightjs');
var hljsDefineShExC = require('highlightjs-shexc');

hljsDefineShExC(hljs);
hljs.initHighlightingOnLoad();

Licence

© 2019 CC0 1.0 highlight.js

Keywords

FAQs

Package last updated on 24 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc