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
+14
-14
@@ -1,7 +1,7 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
This entry requires [Zlib](https://www.zlib.net).
|
||||
@@ -15,7 +15,7 @@ code](#alternate-code) section below.
|
||||
The current status of this entry is:
|
||||
|
||||
```
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
STATUS: INABIAF - please **DO NOT** fix
|
||||
```
|
||||
|
||||
For more detailed information see [2012 vik bugs](../../bugs.html#2012_vik).
|
||||
@@ -26,38 +26,38 @@ For more detailed information see [2012 vik bugs](../../bugs.html#2012_vik).
|
||||
To embed text (from file or command line):
|
||||
|
||||
```sh
|
||||
./vik e base.png filename > encodedimg.png
|
||||
./vik e base.png filename > encodedimg.png
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
./vik e base.png SomeRandomText > encodedimg.png
|
||||
./vik e base.png SomeRandomText > encodedimg.png
|
||||
```
|
||||
|
||||
To extract the embedded text:
|
||||
|
||||
```sh
|
||||
./vik d encodedimg.png
|
||||
./vik d encodedimg.png
|
||||
```
|
||||
|
||||
To embed a PNG into another:
|
||||
|
||||
```sh
|
||||
./vik e base.png source.png > encodedimg.png
|
||||
./vik e base.png source.png > encodedimg.png
|
||||
```
|
||||
|
||||
To extract the embedded PNG:
|
||||
|
||||
```sh
|
||||
./vik d encodedimg.png > restored.png
|
||||
./vik d encodedimg.png > restored.png
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ For those few who might use Windows this alternate code might work.
|
||||
### Alternate build:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
make alt
|
||||
```
|
||||
|
||||
|
||||
@@ -117,8 +117,8 @@ of the previous winning brainfuck interpreters, but I thought it would be easier
|
||||
to include an interpreter in the program to avoid the hassle:
|
||||
|
||||
```sh
|
||||
./vik e ioccc.png chocolate.png > encodedimg.png
|
||||
./vik b encodedimg.png
|
||||
./vik e ioccc.png chocolate.png > encodedimg.png
|
||||
./vik b encodedimg.png
|
||||
```
|
||||
|
||||
It is of course also possible to embed a
|
||||
@@ -126,8 +126,8 @@ It is of course also possible to embed a
|
||||
(as explained above) and decode it, e.g.:
|
||||
|
||||
```sh
|
||||
./vik e ioccc.png .+[.+] > encodedimg.png
|
||||
./vik b encodedimg.png
|
||||
./vik e ioccc.png .+[.+] > encodedimg.png
|
||||
./vik b encodedimg.png
|
||||
```
|
||||
|
||||
### Obfuscation
|
||||
@@ -155,7 +155,7 @@ the variable declarations in the main declaration in order to run
|
||||
correctly:
|
||||
|
||||
```c
|
||||
_setmode(_fileno(stdout), 0x8000);
|
||||
_setmode(_fileno(stdout), 0x8000);
|
||||
```
|
||||
|
||||
NOTE: this is what the [Alternate code](#alternate-code) does.
|
||||
|
||||
Reference in new issue
Block a user