scmdoc

Automatically generate documentation from comments in R7RS Scheme code

git clone https://git.8pit.net/scmdoc.git

 1<h1>
 2  example syntax
 3</h1>
 4<p>
 5  This is a library definition which includes a syntax definition.
 6</p>
 7<h2>
 8  Index
 9</h2>
10<details>
11  <summary>
12    Table of contents
13  </summary>
14  <ul>
15    <li>
16      <a href="#section-declarations">Declarations</a>
17    </li>
18    <ul>
19      <li>
20        <a href="#my-syntax">my-syntax</a>
21      </li>
22    </ul>
23  </ul>
24</details>
25<h2 id="section-declarations">
26  Declarations
27</h2>
28<h3>
29  syntax <a id="my-syntax" href="#my-syntax">my-syntax</a>
30</h3>
31<p>
32  My custom syntax, should be used as follows.
33</p>
34<pre><code>(my-syntax
35  (display "foo")
36  (newline))
37</code></pre>