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
+8
-8
@@ -1,21 +1,21 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
make -B [MACHINE=your_machine.h] [TAPE=your_tape.h] [X=[0|1|2|3|4|5|6|7|8|9]] [V=[0|1|2]] run
|
||||
make -B [MACHINE=your_machine.h] [TAPE=your_tape.h] [X=[0|1|2|3|4|5|6|7|8|9]] [V=[0|1|2]] run
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -69,13 +69,13 @@ files for examples.
|
||||
Every symbol used (except `_`) must be explicitly declared using
|
||||
|
||||
```c
|
||||
#define sym_SYMBOL(sym, _SYMBOL) sym
|
||||
#define sym_SYMBOL(sym, _SYMBOL) sym
|
||||
```
|
||||
|
||||
Example:
|
||||
|
||||
```c
|
||||
#define sym_1(sym, _1) sym
|
||||
#define sym_1(sym, _1) sym
|
||||
```
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ The initial content of the tape must be defined in the tape header using a
|
||||
triple like:
|
||||
|
||||
```c
|
||||
#define tape ((((,),...l2), l1), c, (r1, (r2..., (,))))
|
||||
#define tape ((((,),...l2), l1), c, (r1, (r2..., (,))))
|
||||
```
|
||||
|
||||
- `l1`, `l2`, ... are the symbols to the left
|
||||
@@ -101,7 +101,7 @@ underscore symbols (`_`). They are expanded on demand.
|
||||
All transitions are defined in the machine header using the syntax
|
||||
|
||||
```
|
||||
#define CURRENT_SCANNED (WRITE, MOVEMENT, NEXT)
|
||||
#define CURRENT_SCANNED (WRITE, MOVEMENT, NEXT)
|
||||
```
|
||||
|
||||
where
|
||||
@@ -120,7 +120,7 @@ machine.
|
||||
To halt the machine, use the keyword `break` as in
|
||||
|
||||
```c
|
||||
#define A_1 (2, break)
|
||||
#define A_1 (2, break)
|
||||
```
|
||||
|
||||
<!--
|
||||
|
||||
Reference in new issue
Block a user