An HTML syntax highlighter for BigFix ActionScript.
To highlight some script:
var highlightActionScript = require('highlight-bigfix-actionscript');
var html = highlightActionScript('run patch.exe');
The above command will result in:
<span class="bf-actionscript-command">run</span> patch.exe
Relevance substitutions are also colored. This is done using highlight.js with hljs-bigfix-relevance. For example:
highlightActionScript('appendfile {1+1}');
This will result in:
<span class="bf-actionscript-command">appendfile</span> {<span class="bf-actionscript-substitution"><span class="hljs-number">1</span>+<span class="hljs-number">1</span></span>}