"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/README_RELEASE.adoc" (12 May 2020, 2291 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 (assuming AsciiDoc format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

1. GIT: FIRST COMMIT — THEN EXPORT

Triple check.

2. TESTS

highlight --print-config

This will print the config file search paths and compilation options.

To test syntax definitions, run

highlight --list-scripts=langs

This command compiles all syntax scripts.

highlight --list-scripts=themes
highlight --list-scripts=plugins

These commands show installed files.

To quickly test highlighting on the command line, type:

highlight -ISc

Now type some C code and hit CTRL+D to quit.

Add --verbose to print additional syntax parsing information.

Test filetype recognition:

  • file suffix (default)

  • no suffix (i.e. makefile)

  • shebang (i.e. Bash script)

  • force syntax using -S and --syntax-by-name

3. UNNEEDED FILES

Remove src/gui-qt/.qmake.stash

4. THIRD PARTY COMPATIBILITY

The following options are used in third party applications:

  • --input, -i

  • --output, -o

  • --encoding, -u

  • --font

  • --font-size

  • --force

  • --line-numbers, -l

  • --replace-tabs, -t

  • --syntax

  • --syntax-by-name

  • --out-format

  • --include-style

  • --inline-css

  • --style

  • --failsafe

  • --validate-input

The following themes are used in third party applications:

The following platform dependent classes are used in SWIG scripts (ikiwiki):

  • DataDir

5. SO-LIB VERSION

Increase SO_VERSION in src/makefile.

See the makefiles and INSTALL for more packaging information.