mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
development/source-highlight: Fix README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
553122f455
commit
46e9e2eb0f
1 changed files with 14 additions and 12 deletions
|
@ -1,20 +1,22 @@
|
||||||
GNU Source-highlight
|
GNU Source-highlight
|
||||||
|
|
||||||
This program, given a source file, produces a document with syntax highlighting.
|
This program, given a source file, produces a document with syntax
|
||||||
It also provides a C++ highlight library.
|
highlighting. It also provides a C++ highlight library.
|
||||||
|
|
||||||
Source-highlight reads source language specifications dynamically, thus it can
|
Source-highlight reads source language specifications dynamically,
|
||||||
be easily extended (without recompiling the sources) for handling new
|
thus it can be easily extended (without recompiling the sources) for
|
||||||
languages. It also reads output format specifications dynamically, and thus it
|
handling new languages. It also reads output format specifications
|
||||||
can be easily extended (without recompiling the sources) for handling new
|
dynamically, and thus it can be easily extended (without recompiling
|
||||||
output formats. The syntax for these specifications is quite easy (take a look
|
the sources) for handling new output formats. The syntax for these
|
||||||
at the manual).
|
specifications is quite easy (take a look at the manual).
|
||||||
|
|
||||||
Source-highlight is a command line program, and it can also be used as a CGI.
|
Source-highlight is a command line program, and it can also be used as
|
||||||
|
a CGI.
|
||||||
|
|
||||||
Notice that source-highlight can also be used as a formatter (i.e., without
|
Notice that source-highlight can also be used as a formatter (i.e.,
|
||||||
highlighting): you can, for instance, format a txt file in HTML (and it will
|
without highlighting): you can, for instance, format a txt file in
|
||||||
take care of translating special characters, such as, <, >, &).
|
HTML (and it will take care of translating special characters, such
|
||||||
|
as, <, >, &).
|
||||||
|
|
||||||
A common example:
|
A common example:
|
||||||
less /usr/src/linux/kernel/panic.c
|
less /usr/src/linux/kernel/panic.c
|
||||||
|
|
Loading…
Reference in a new issue