Demo

If you followed the instructions in README.md, the following code snippet should be highlighted.

/*
 * Multi-line comment, baby
 */

!ifdef VERBOSE
  !echo "Verbose mode active"
!endif

; Includes ---------------------------------
!include MUI2.nsh
!include LogicLib.nsh

; Settings ---------------------------------
Name "installer_name"
OutFile "installer_name.exe"
RequestExecutionLevel user
InstallDir "$PROGRAMFILES\installer_name"

; Pages ------------------------------------
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

; Languages --------------------------------
!insertmacro MUI_LANGUAGE "English"

; Sections ---------------------------------
Section "section" SECTION_INDEX

  ${If} 0 == 1
    nsExec::Exec "calc.exe"
  ${Else}
    DetailPrint "Zero will never be one"
  ${EndIf}

SectionEnd

; Descriptions -----------------------------
LangString DESC_SECTION_INDEX ${LANG_ENGLISH} "section_description"

!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
  !insertmacro MUI_DESCRIPTION_TEXT ${SECTION_INDEX} $(DESC_SECTION_INDEX)
!insertmacro MUI_FUNCTION_DESCRIPTION_END