"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/themes-resources/base16/example.bat" (12 May 2020, 1402 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "example.bat": 3.53_vs_3.54.

    1 :: =============================================================================
    2 ::                  Test Base16 to Highlight Theme Conversion
    3 :: =============================================================================
    4 :: This script requires the following Node.js apps to be installed globally:
    5 :: - mustache.js
    6 ::   https://www.npmjs.com/package/mustache
    7 :: - yaml-utils
    8 ::   https://www.npmjs.com/package/yaml-utils
    9 :: -----------------------------------------------------------------------------
   10 
   11 :: Convert Base16 scheme to Highlight Theme:
   12 yaml2json < example.yaml ^
   13           | mustache - base16_highlight.mustache ^
   14           > example.theme
   15 
   16 :: Convert Base16 scheme to Light Highlight Theme:
   17 yaml2json < example.yaml ^
   18           | mustache - base16_highlight_light.mustache ^
   19           > example_light.theme
   20 
   21 :: Test Dark Theme with some code:
   22 highlight ^
   23     --config-file=example.theme ^
   24     --include-style ^
   25     --validate-input ^
   26     --doc-title="Base16 Eighties (Dark)" ^
   27     --font-size=16 ^
   28     --line-numbers ^
   29     -o  example-dark.html ^
   30         example.pb
   31 
   32 :: Test Light Theme with some code:
   33 highlight ^
   34     --config-file=example_light.theme ^
   35     --include-style ^
   36     --validate-input ^
   37     --doc-title="Base16 Eighties (Light)" ^
   38     --font-size=16 ^
   39     --line-numbers ^
   40     -o  example-light.html ^
   41         example.pb
   42 
   43 EXIT /B