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
+19
-19
@@ -1,7 +1,7 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
@@ -12,16 +12,16 @@ to those familiar with vi. See [Alternate code](#alternate-code) below.
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
./prog
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
# Make your terminal as large as possible, possibly reduce your font size
|
||||
# then...
|
||||
./prog
|
||||
# Make your terminal as large as possible, possibly reduce your font size
|
||||
# then...
|
||||
./prog
|
||||
```
|
||||
|
||||
|
||||
@@ -34,16 +34,16 @@ where instead of `w`, `a`, `s` and `d`, you can use `k`, `h`, `j` and `l`.
|
||||
### Alternate build:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
make alt
|
||||
```
|
||||
|
||||
|
||||
### Alternate use:
|
||||
|
||||
```sh
|
||||
# Make your terminal as large as possible, possibly reduce your font size
|
||||
# then...
|
||||
./prog.alt
|
||||
# Make your terminal as large as possible, possibly reduce your font size
|
||||
# then...
|
||||
./prog.alt
|
||||
```
|
||||
|
||||
..and maybe curse less than you might otherwise, but still probably curse (see
|
||||
@@ -69,11 +69,11 @@ reverse indentation style.
|
||||
|
||||
|
||||
```
|
||||
/\
|
||||
//\\
|
||||
/ \
|
||||
/______\
|
||||
/\/\
|
||||
/\
|
||||
//\\
|
||||
/ \
|
||||
/______\
|
||||
/\/\
|
||||
```
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ reverse indentation style.
|
||||
|
||||
#### Linux
|
||||
```
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog
|
||||
```
|
||||
|
||||
#### Windows
|
||||
@@ -91,8 +91,8 @@ The only way I found to make it work is to use [MSYS2](https://www.msys2.org).
|
||||
When using the MSYS2 shell you can install gcc via pacman.
|
||||
|
||||
```
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog.exe
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog.exe
|
||||
```
|
||||
|
||||
#### Warnings
|
||||
|
||||
Reference in new issue
Block a user