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

+10 -10
View File
@@ -1,21 +1,21 @@
## To build:
```sh
make
make
```
## To use:
```sh
./prog [PIN] < input.txt > output.c
./prog [PIN] < input.txt > output.c
```
## Try:
```sh
./try.sh
./try.sh
```
@@ -23,7 +23,7 @@ The author provided the file [cppp.cc](cppp.cc) which can preprocess the
generated output to make them more acceptable to typical compilers. To build:
```sh
make cppp
make cppp
```
See the author's remarks for more details.
@@ -45,9 +45,9 @@ spoiler](spoiler.html) that shows how this entry was written.
### Synopsis
```sh
echo "Hello world" | ./prog 12345 > encoded.c
echo "Hello world" | ./prog 12345 > encoded.c
gcc -DPIN=12345 encoded.c -o ./decoded && ./decoded
gcc -DPIN=12345 encoded.c -o ./decoded && ./decoded
```
### Details
@@ -55,23 +55,23 @@ gcc -DPIN=12345 encoded.c -o ./decoded && ./decoded
Mile is a C code generator. Run without arguments for the help message below:
```
usage: [PIN] < input.txt > output.c
usage: [PIN] < input.txt > output.c
where [PIN] is an integer in the range of 1..65535
where [PIN] is an integer in the range of 1..65535
```
When run with an encoding PIN (first command line argument), Mile will
read bytes from `stdin` and generate C code on `stdout`. Example:
```sh
echo "Hello, world!" | ./prog 56789 > encoded.c
echo "Hello, world!" | ./prog 56789 > encoded.c
```
This generated code will reproduce the same input bytes on `stdout` when
executed, if it was compiled with the same encoding PIN.
```sh
gcc -DPIN=56789 encoded.c -o decoded
gcc -DPIN=56789 encoded.c -o decoded
```
The generated code reconstructs all data at compile time by seeding a