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
@@ -1,21 +1,21 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./prog
|
||||
./prog
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
By default that will use `indent(1)` found by the shell `type -P indent` and
|
||||
@@ -23,7 +23,7 @@ By default that will use `indent(1)` found by the shell `type -P indent` and
|
||||
to try a different beautifier, you can do it like:
|
||||
|
||||
```sh
|
||||
INDENT=bcpp ./try.sh
|
||||
INDENT=bcpp ./try.sh
|
||||
```
|
||||
|
||||
which would change it to use `bcpp(1)` instead of `indent(1)`. Do similar for
|
||||
@@ -57,8 +57,8 @@ executable C functions.
|
||||
- The readable implementation of `Y` is on lines 29-30:
|
||||
|
||||
```
|
||||
W_f = \x.f(xx)
|
||||
Y = \f.W_f W_f
|
||||
W_f = \x.f(xx)
|
||||
Y = \f.W_f W_f
|
||||
```
|
||||
|
||||
- A mixture of strict and lazy evaluation, with a `_` force function
|
||||
|
||||
Reference in new issue
Block a user