highlight.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1346 a2fbf50a43f4
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1185
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1185
diff changeset
     2
.. include:: HEADER.rst
468
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
1184
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
     4
======================
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
     5
 Syntax highlighting.
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
     6
======================
1346
a2fbf50a43f4 Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
     7
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
     8
   :local:
1184
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
     9
1185
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    10
JavaScript based syntax highlighters.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    11
=====================================
468
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
Used for syntax highlighting code block in blogs/articles.
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
1184
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    15
SyntaxHighlighter.
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    16
------------------
468
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
SyntaxHighlighter is a fully functional self-contained code syntax highlighter
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
developed in JavaScript.
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
Support:
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
  ActionScript3 Bash/shell ColdFusion C# C++ CSS Delphi Diff Erlang Groovy
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
  JavaScript Java JavaFX Perl PHP Plain Text PowerShell Python Ruby Scala SQL
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
  Visual-Basic XML
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
  http://alexgorbatchev.com/SyntaxHighlighter
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
                home page
e68485998b98 JavaScript based syntax highlighter.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
1184
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    30
google-code-prettify.
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    31
---------------------
484
77446e61eecd google-code-prettify.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 468
diff changeset
    32
77446e61eecd google-code-prettify.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 468
diff changeset
    33
  http://code.google.com/p/google-code-prettify
1184
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    34
                home page
a5963bf339e8 Convert file to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 484
diff changeset
    35
1185
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    36
Command line highlighters.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    37
==========================
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    38
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    39
GNU Source-highlight.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    40
---------------------
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    41
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    42
This program, given a source file, produces a document with syntax highlighting.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    43
It also provides a C++ highlight library.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    44
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    45
Supported output formats: HTML, XHTML, LATEX, MediaWiki, ODF, TEXINFO, DocBook,
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    46
ANSI color escape sequences.
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    47
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    48
  http://www.gnu.org/software/src-highlite/
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    49
                home page
2685756d0517 GNU Source-highlight.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1184
diff changeset
    50