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
|
||||
./hamano < textfile > output.pdf
|
||||
./hamano < textfile > output.pdf
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
./try.sh
|
||||
```
|
||||
|
||||
The script will generate a number of PDF files and it will suggest you look at
|
||||
@@ -31,9 +31,9 @@ README.md!
|
||||
That procedure looks like:
|
||||
|
||||
```sh
|
||||
./hamano < README.md > hint.pdf
|
||||
cc -xc hint.pdf -o hint
|
||||
./hint
|
||||
./hamano < README.md > hint.pdf
|
||||
cc -xc hint.pdf -o hint
|
||||
./hint
|
||||
```
|
||||
|
||||
Another PDF generated is an obfuscated `Hello World!` program (obfuscated inside
|
||||
@@ -41,11 +41,11 @@ the PDF). Once this is done it will compile the PDF as if it was C (itself!). It
|
||||
will look like:
|
||||
|
||||
```sh
|
||||
echo 'int main(){puts("Hello World!");}' | ./hamano > hello.pdf
|
||||
cc -xc hello.pdf -o hello
|
||||
./hello | cc -Wno-implicit-function-declaration -xc - -o ./hello2
|
||||
echo 'int main(){puts("Hello World!");}' | ./hamano > hello.pdf
|
||||
cc -xc hello.pdf -o hello
|
||||
./hello | cc -Wno-implicit-function-declaration -xc - -o ./hello2
|
||||
|
||||
./hello2
|
||||
./hello2
|
||||
```
|
||||
|
||||
although the `CFLAGS` will be what is in the Makefile as it uses the helper
|
||||
|
||||
Reference in new issue
Block a user