-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasnip.html
54 lines (51 loc) · 3.33 KB
/
asnip.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-16"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ASnip</title>
<style type="text/css">
.not-yet { color: silver; background-color: white; }
</style>
</head>
<body>
<h1>ASnip Source Code Decorator</h1>
<p>
ASnip prepares source snippets for inclusion in articles,
WWW pages, reports, etc.
</p>
<p>
ASnip reads snippets of source code (Ada, ...) from standard input,
then decorates the source tokens with markup, and finally writes
the result on standard output.
Indentation and source text are <em>not</em> changed.
The result is suitable for inclusion in text processing,
or web pages.
Source text may be correct or incorrect, so you can decorate
mistakes, too.
ASnip is aware of comments.
The
<a href="asnip.html">manual</a> page has links to some
<a href="sample-antiq.html">examples</a> and further info.
</p>
<p>Ouput formats include:</p>
<ul>
<li>HTML</li>
<li><span class="not-yet">(RTF)</span></li>
<li>TeX</li>
<li>WiKiBook</li>
<li><span class="not-yet">(XML)</span></li>
</ul>
<p>
<span class="not-yet">(gray)</span>
formats in parentheses are not implemented yet.
This list can easily be extended.
Download a
<a href="ASnip-R1.1-src.zip" type="application/zip">source</a> archive, or a
<a href="ASnip-R1.1-bin.zip" type="application/zip">binary</a>
distribution for Windows
</p>
</body>
</html>
<!-- täst! -->