summaryrefslogtreecommitdiff
path: root/doc/user/prgm.skb
diff options
context:
space:
mode:
authorLudovic Courtès2008-02-05 19:11:04 +0100
committerLudovic Courtès2008-02-05 19:11:04 +0100
commite89efdd5d11a8571b4fc3d71c2ec9cd235e0bad5 (patch)
treec0407c2be59f00f85fcf62b76b928f9c88f4f86d /doc/user/prgm.skb
parent93d003395b34b9a6da59fbbe155ae2b770350e49 (diff)
downloadskribilo-e89efdd5d11a8571b4fc3d71c2ec9cd235e0bad5.tar.gz
skribilo-e89efdd5d11a8571b4fc3d71c2ec9cd235e0bad5.tar.lz
skribilo-e89efdd5d11a8571b4fc3d71c2ec9cd235e0bad5.zip
doc: Document C/Java source highlighting.
Diffstat (limited to 'doc/user/prgm.skb')
-rw-r--r--doc/user/prgm.skb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/user/prgm.skb b/doc/user/prgm.skb
index e44ad10..5c681f8 100644
--- a/doc/user/prgm.skb
+++ b/doc/user/prgm.skb
@@ -98,6 +98,17 @@ can be rendered using different colors or faces.])
(example-produce
(example :legend "The source markup" (prgm :file "src/prgm2.skb"))
(disp (include "src/prgm2.skb")))
+
+(p [Note that even awful programming languages of the C family can be
+highlighted!])
+
+(linebreak)
+(example-produce
+ (example :legend "The source markup for C" (prgm :file "src/prgm4.skb"))
+ (disp (include "src/prgm4.skb")))
+
+(p [You would highlight Java,(symbol "tm") code in a similar way, i.e.,
+with ,(tt [:language java]).])
(mark "*source-path*")
(p [Files passed as the ,(tt [:file]) argument of ,(markup-ref "source")