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
+17
-17
@@ -1,7 +1,7 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make all
|
||||
make all
|
||||
```
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ or force you to reboot using the Big Red Button! This is **NOT** a joke.
|
||||
You have been warned.
|
||||
|
||||
```sh
|
||||
./schweikh3
|
||||
./schweikh3
|
||||
```
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ systems.
|
||||
But still it is a useful utility. To use try:
|
||||
|
||||
```sh
|
||||
./schweikh3
|
||||
./schweikh3
|
||||
```
|
||||
|
||||
and thanks for the virtual memories! :-)
|
||||
@@ -58,26 +58,26 @@ compiler. The source fails to compile under a C++ compiler due to
|
||||
the `new' identifier which is a C++ reserved word:
|
||||
|
||||
```sh
|
||||
$ g++ schweikh3.c
|
||||
schweikh3.c:9: parse error before `new'
|
||||
schweikh3.c:16: parse error before `new'
|
||||
schweikh3.c:46: parse error before `void'
|
||||
schweikh3.c:65: parse error before `Lisp'
|
||||
schweikh3.c:68: parse error before `;'
|
||||
[...]
|
||||
schweikh3.c:91: confused by earlier errors, bailing out
|
||||
$ g++ schweikh3.c
|
||||
schweikh3.c:9: parse error before `new'
|
||||
schweikh3.c:16: parse error before `new'
|
||||
schweikh3.c:46: parse error before `void'
|
||||
schweikh3.c:65: parse error before `Lisp'
|
||||
schweikh3.c:68: parse error before `;'
|
||||
[...]
|
||||
schweikh3.c:91: confused by earlier errors, bailing out
|
||||
```
|
||||
|
||||
The source fails to compile on compilers that recognize the inline
|
||||
keyword by default, e.g. gcc:
|
||||
|
||||
```sh
|
||||
$ gcc schweikh3.c
|
||||
schweikh3.c:46: parse error before `void'
|
||||
schweikh3.c: In function `main':
|
||||
schweikh3.c:91: parse error before `inline'
|
||||
schweikh3.c: At top level:
|
||||
schweikh3.c:97: parse error before `void'
|
||||
$ gcc schweikh3.c
|
||||
schweikh3.c:46: parse error before `void'
|
||||
schweikh3.c: In function `main':
|
||||
schweikh3.c:91: parse error before `inline'
|
||||
schweikh3.c: At top level:
|
||||
schweikh3.c:97: parse error before `void'
|
||||
```
|
||||
|
||||
The `-ansi` option to gcc fixes this.
|
||||
|
||||
Reference in new issue
Block a user