Socket
Book a DemoInstallSign in
Socket

highlightjs-sap-abap

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highlightjs-sap-abap

highlight.js syntax definition for SAP ABAP

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
835
-23.81%
Maintainers
2
Weekly downloads
 
Created
Source

npm version

highlightjs-sap-abap

SAP ABAP highlighting for highlight.js

Build distributable

  • install this repo in folder extra of highlightjs
  • run the build tool from the main highlightjs folder:
npm run build-cdn

Usage

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

Static website or simple usage

Simply load the module after loading Highlight.js. This module is just a CDN build of the language, so it will register itself as the Javascript is loaded.

<link rel="stylesheet" href="/path/to/styles/default.css">
<script src="/path/to/highlight.min.js"></script>
<script src="/path/to/highlightjs-sap-abap/dist/abap.min.js"></script>
<script type="text/javascript">
  hljs.highlightAll();
</script>

Using directly from the jsDelivr CDN

<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/styles/default.min.css">
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release/build/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/highlightjs/highlightjs-sap-abap/src/abap.min.js"></script>

License

MIT

Maintainers

@cassioiks, @larshp

Keywords

abap

FAQs

Package last updated on 28 Aug 2023

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