Skip to content

highlightjs/highlightjs-sap-abap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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