improved indentation and whitespace for markdown code blocks

All code blocks in markdown have been intended by at least 4 spaces.

We add `--tab-stop=8` to all `pandoc(1)` executions in order to set
a better tab stop indentation, especially for tab intended code blocks.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.5.3 2024-03-26"
to "1.6 2024-03-31".

Fixed `1991/brnstnd/sorta.README.md` so that the sorta code
is code blocks.

Removed unneeded paragraph group in copyright in `inc/footer.default.html`.

Fixed excess whitespace after list Author on entry `index.html` page.

Changed `bin/output-index-author.sh` VERSION from "1.5.2 2024-03-26"
to "1.6 2024-03-31".

Performed `make www` to perform the above and test under macOS.

TODO: Fix the problem of the initial line of code being extra intended.
TODO: Fix excess whitespace around code that is inline.
This commit is contained in:
Landon Curt Noll committed 2024-04-01 04:48:48 -07:00
1 parent b84c27ce02
commit a996f8d2b8
734 files changed
+16723 -16963

No files matched your search

+7 -7
View File
@@ -1,21 +1,21 @@
## To build:
```sh
make
make
```
## To use:
```sh
./schnitzi <foo | vi -n
./schnitzi <foo | vi -n
```
## Try:
```sh
./try.sh
./try.sh
```
@@ -76,7 +76,7 @@ description of the input file format.
The first line is specified thusly:
```
[duration] [timefactor]
[duration] [timefactor]
```
The first parameter, `duration`, defines how long the animation will run. The
@@ -94,7 +94,7 @@ each successive frame. Each sprite begins with a line of parameters
of the following form:
```
[start] [end] [x] [y] [dx] [dy] [cols] [rows] [viewcount]
[start] [end] [x] [y] [dx] [dy] [cols] [rows] [viewcount]
```
where:
@@ -133,13 +133,13 @@ Try one of these methods to get the animation to run:
1. Redirect the output directly to vi, like this:
```sh
./schnitzi < input.dat | vi
./schnitzi < input.dat | vi
```
2. Redirect the output to a file, like this:
```sh
./schnitzi < input.dat > output.dat
./schnitzi < input.dat > output.dat
```
Then, open the output file, select the text, and copy it
+8 -9
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Mark_Schnitzius">Mark Schnitzius</a><br>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<br><br></li>
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,11 +141,11 @@ Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span></span></code></pre></div>
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span></span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./schnitzi</span> <span class="op">&lt;</span>foo <span class="kw">|</span> <span class="fu">vi</span> <span class="at">-n</span></span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./schnitzi</span> <span class="op">&lt;</span>foo <span class="kw">|</span> <span class="fu">vi</span> <span class="at">-n</span></span></code></pre></div>
<h2 id="try">Try:</h2>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./try.sh</span></span></code></pre></div>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./try.sh</span></span></code></pre></div>
<p>NOTE: if you’re one of those who don’t know how to exit <code>vi</code> :-) don’t worry as
it will exit for you.</p>
<h2 id="judges-remarks">Judges’ remarks:</h2>
@@ -186,7 +185,7 @@ it.)</p>
to <code>stdin</code> when running the program. What follows is a detailed
description of the input file format.</p>
<p>The first line is specified thusly:</p>
<pre><code>[duration] [timefactor]</code></pre>
<pre><code> [duration] [timefactor]</code></pre>
<p>The first parameter, <code>duration</code>, defines how long the animation will run. The
second, <code>timefactor</code>, is used as sort of a fudge factor for machines that run
too fast to see the animation. A <code>timefactor</code> of 0 means, “run the animation as
@@ -199,7 +198,7 @@ different sprites, each up 50 by 50 in size, and with up to four
different ‘views’ of that object, which are cycled through with
each successive frame. Each sprite begins with a line of parameters
of the following form:</p>
<pre><code>[start] [end] [x] [y] [dx] [dy] [cols] [rows] [viewcount]</code></pre>
<pre><code> [start] [end] [x] [y] [dx] [dy] [cols] [rows] [viewcount]</code></pre>
<p>where:</p>
<ul>
<li><p><code>start</code> is the time at which this sprite first appears.</p></li>
@@ -222,11 +221,11 @@ scene, the other a bit of scrolling text.</p>
<ol type="1">
<li>Redirect the output directly to vi, like this:</li>
</ol>
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./schnitzi</span> <span class="op">&lt;</span> input.dat <span class="kw">|</span> <span class="fu">vi</span></span></code></pre></div>
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./schnitzi</span> <span class="op">&lt;</span> input.dat <span class="kw">|</span> <span class="fu">vi</span></span></code></pre></div>
<ol start="2" type="1">
<li>Redirect the output to a file, like this:</li>
</ol>
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="ex">./schnitzi</span> <span class="op">&lt;</span> input.dat <span class="op">&gt;</span> output.dat</span></code></pre></div>
<div class="sourceCode" id="cb7"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a> <span class="ex">./schnitzi</span> <span class="op">&lt;</span> input.dat <span class="op">&gt;</span> output.dat</span></code></pre></div>
<p>Then, open the output file, select the text, and copy it
to your system pasteboard/cut/selection buffer and paste
it into vi. The paste is NOT the vi paste command, but