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
+10
-10
@@ -1,21 +1,21 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./cheong digits
|
||||
./cheong digits
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -37,11 +37,11 @@ Program will return the integer part of its square root (n-digits).
|
||||
For example,
|
||||
|
||||
```sh
|
||||
$ cc -o cheong cheong.c
|
||||
$ ./cheong 1234567890
|
||||
35136
|
||||
$ ./cheong 0200000000000000000000000000
|
||||
14142135623730
|
||||
$ cc -o cheong cheong.c
|
||||
$ ./cheong 1234567890
|
||||
35136
|
||||
$ ./cheong 0200000000000000000000000000
|
||||
14142135623730
|
||||
```
|
||||
|
||||
Deviation from these instructions will cause undefined results. :-)
|
||||
@@ -53,8 +53,8 @@ This program runs normally on any ANSI C compiler and is ASCII dependent.
|
||||
Strict compiling gives just one unavoidable warning:
|
||||
|
||||
```sh
|
||||
gcc -ansi -Wall cheong.c
|
||||
cheong.c:3: warning: third argument of `main' should probably be `char **'
|
||||
gcc -ansi -Wall cheong.c
|
||||
cheong.c:3: warning: third argument of `main' should probably be `char **'
|
||||
```
|
||||
|
||||
### Obfuscation
|
||||
|
||||
Reference in new issue
Block a user