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
+12
-12
@@ -1,14 +1,14 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
echo "YYYY/MM/DD" | ./morgan1
|
||||
echo "YYYY/MM/DD" | ./morgan1
|
||||
```
|
||||
|
||||
where `YYYY` is the four digit year, `MM` is the two digit month and `DD` is two
|
||||
@@ -24,7 +24,7 @@ follows:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
Use the same keys as described above to change the dates each time the program
|
||||
@@ -107,20 +107,20 @@ degrees sometimes).
|
||||
With gcc 4.7.2 on Linux Ubuntu 12.10:
|
||||
|
||||
```
|
||||
morgan1.c:38:3: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|
||||
morgan1.c:40:34: warning: value computed is not used [-Wunused-value]
|
||||
morgan1.c:56:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|
||||
morgan1.c:58:50: warning: value computed is not used [-Wunused-value]
|
||||
morgan1.c:61:5: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
|
||||
morgan1.c:38:3: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|
||||
morgan1.c:40:34: warning: value computed is not used [-Wunused-value]
|
||||
morgan1.c:56:6: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
|
||||
morgan1.c:58:50: warning: value computed is not used [-Wunused-value]
|
||||
morgan1.c:61:5: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
|
||||
```
|
||||
|
||||
With clang 3.1 on Linux Ubuntu 12.10 :
|
||||
|
||||
```
|
||||
morgan1.c:38:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:38:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:55:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:56:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:38:49: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:38:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:55:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
morgan1.c:56:14: warning: '&&' within '||' [-Wlogical-op-parentheses]
|
||||
```
|
||||
|
||||
This is due to most of the parentheses and braces being removed when
|
||||
|
||||
Reference in new issue
Block a user