Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (25 sloc) 1.26 kb
ea71557 @jgm Added README
authored
1 Why another highlighting library?
2
3 highlighting-kate is too slow and can really put a load on a server when
4 highlighting long source files. illuminate is much faster (100 times
5 faster in one test!). The downside is that you have to write your own
6 lexers. But this is not actually all that difficult.
7
48ad4c1 @jgm Added to README
authored
8 To try this out:
9
10 cabal install
14115ec @jgm Updated README
authored
11
48ad4c1 @jgm Added to README
authored
12 illuminate illuminate.hs
0efbe66 @jgm Small addition to README
authored
13 illuminate illuminate.cabal
14115ec @jgm Updated README
authored
14 illuminate -mono illuminate.hs
15 illuminate -html illuminate.hs
16 illuminate -xhtml illuminate.hs
17 illuminate -xhtml -css illuminate.hs
c036caf @jgm Added latex formatter
authored
18 illuminate -latex illuminate.hs
48ad4c1 @jgm Added to README
authored
19
fe44903 @jgm Updated README
authored
20 Right now, illuminate can highlight haskell, literate haskell, cabal,
943b473 @jgm Updated README and TODO.
authored
21 alex, c, c++, c#, python, ruby, java, html, rhtml, xml, javascript, css,
22 tex, and bibtex. (Note that it handles embedded haskell in alex files,
23 embedded javascript and css in html, and embedded ruby in rhtml.)
48ad4c1 @jgm Added to README
authored
24
c036caf @jgm Added latex formatter
authored
25 It can format output in HTML, XHTML (with embedded style tags or CSS),
26 LaTeX (using fancyvrb), or with ANSI escape codes.
27
48ad4c1 @jgm Added to README
authored
28 Want to write a lexer for a language?
29 Study the examples in Text/Highlight/Illuminate/*.x.
30
0efbe66 @jgm Small addition to README
authored
31 To test your lexer, add references to it in the three obvious places in
32 illuminate.cabal, and in the two obvious places in
33 Text/Highlighting/Illuminate.hs. Then 'cabal install'...
34
Something went wrong with that request. Please try again.