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:
1 parent
b84c27ce02
commit
a996f8d2b8
734 files changed
+16723
-16963
No files matched your search
+11
-11
@@ -1,14 +1,14 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./litmaath some text
|
||||
./litmaath some text
|
||||
```
|
||||
|
||||
There is an alternate version provided. See the [Alternate
|
||||
@@ -18,7 +18,7 @@ code](#alternate-code) section below.
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./litmaath eschew obfuscation
|
||||
./litmaath eschew obfuscation
|
||||
```
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ a file.
|
||||
### Alternate build:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
make alt
|
||||
```
|
||||
|
||||
Use `litmaath.alt` as you would `litmaath` above.
|
||||
@@ -41,7 +41,7 @@ Use `litmaath.alt` as you would `litmaath` above.
|
||||
### Alternate try:
|
||||
|
||||
```sh
|
||||
./litmaath.alt six was afraid of seven because seven eight nine
|
||||
./litmaath.alt six was afraid of seven because seven eight nine
|
||||
```
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ Note the unusual structure:
|
||||
|
||||
|
||||
```c
|
||||
while (<condition>)
|
||||
;
|
||||
while (<condition>)
|
||||
;
|
||||
```
|
||||
|
||||
Did you notice that the body is empty?
|
||||
@@ -67,10 +67,10 @@ variables like:
|
||||
|
||||
|
||||
```c
|
||||
fprintf(stderr,
|
||||
"argv=%lo *argv=%lo **argv=%c argv[1]=%lo *argv[1]=%c argc=%d\n",
|
||||
(long) argv, (long) *argv, *argv && **argv ? **argv : '@',
|
||||
(long) argv[1], argv[1] && *argv[1] ? *argv[1] : '@', argc);
|
||||
fprintf(stderr,
|
||||
"argv=%lo *argv=%lo **argv=%c argv[1]=%lo *argv[1]=%c argc=%d\n",
|
||||
(long) argv, (long) *argv, *argv && **argv ? **argv : '@',
|
||||
(long) argv[1], argv[1] && *argv[1] ? *argv[1] : '@', argc);
|
||||
```
|
||||
|
||||
... which is what the [alternate code](#alternate-code) is.
|
||||
|
||||
Reference in new issue
Block a user