It's a lightweight, syntax highlighter for SAP's programming language ABAP and it's written in JavaScript - ( Duh!....ABAP is not written in JavaScript but just this syntax highlighter )
This is an extension of open source Syntax Highlighter Prism.
I wanted to put together a JavaScript library that can achieve effective syntax-highlighting for ABAP Code. ABAPSyntaxHighlighter ( PrismABAP ) offers a practical solution with acceptable margins of error. Goal is to have an easy to install and useable JavaScript Library for the purpose.
-
Site/Blog Administrator/owner should add the JavaScript and CSS files as below (both files can be downloaded from this repository). Obviously this is one time activity.
-
Post writer will enclose the ABAP code with
<pre>
and<code>
and specify the CSS class name: line-numbers language-abap as below:
* Actual ABAP Code lines should be pasted here - site/blog post editor should take care of converting any starting html brackets in ABAP code to < for example field-symbols etc.
A sample highlighted code and some details are available at [this Blog Post](http://sapblog.rmtiwari.com/2014/01/hacking-together-abap-syntax.html).
If you want to try on your Blog/site – it’s free unless you are hell-bent on paying for it :)