| Docs Help
  AppSource  
Docs  /  NAVAX Help Builder  /  Write Help  /  Extended

 Source Code


2023/04/22 • 1 min. to read
Source Code can be added using the _SourceCode snippets. A syntax highlighter can be enabled in the <code> tag by specifying the language with class="language-xxx". The highlighter is available for the following languages.
  • al
  • json
  • sql
  • markup
  • php
  • javascript
  • css
  • markdown

Snippets

The following snippets are available:
SnippetCode/Result
_SourceCode
<pre><code>
TODO_SourceCode
</code></pre>
_SourceCodeAL
<pre><code class="language-al">
TODO_SourceCode
</code></pre>
Result:
codeunit 50000 "NCHB"
{
    var
        NCHBMsg: Label 'We love the Help Builder!';

    //This is a Comment
    procedure ShowNCHBMsg()
    begin
        Message(NCHBMsg);
    end;
}
_SourceCodeJson
<pre><code class="language-json">
TODO_SourceCode
</code></pre>
_SourceCodeSQL
<pre><code class="language-sql">
TODO_SourceCode
</code></pre>


Submit feedback for
DE|EN Imprint