Socket
Book a DemoInstallSign in
Socket

highlightjs-jolie

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlightjs-jolie

Jolie syntax highlighting plugin for highlight.js

latest
Source
npmnpm
Version
0.1.8
Version published
Maintainers
1
Created
Source

highlightjs-jolie

Jolie language syntax highlighting plugin for highlight.js.

Usage

Simple usage

Simply include the Highlight.js library in your webpage or Node app, then load this module.

<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8"
  src="/path/to/highlightjs-jolie/dist/jolie.min.js"></script>
<script type="text/javascript">
  hljs.initHighlightingOnLoad();
</script>

With Node

If you're using Node, simply require the language module, then register it with highlight.js.

var hljs = require('highlightjs');
var hljsJolie = require('highlightjs-jolie');

hljs.registerLanguage("jolie", hljsJolie);
hljs.initHighlightingOnLoad();

License

The hightlightjs-jolie plugin is licensed under MIT. See LICENSE file for details.

Keywords

jolie

FAQs

Package last updated on 10 Nov 2020

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