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
+13
-13
@@ -1,14 +1,14 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
cd build; ./hibachi-start.sh &
|
||||
cd build; ./hibachi-start.sh &
|
||||
```
|
||||
|
||||
Then use your web browser to visit `http://localhost:8008/`. When you're
|
||||
@@ -43,8 +43,8 @@ extraction) that unpacks several support files and a subdirectory tree
|
||||
containing the documentation and examples. It can be viewed by:
|
||||
|
||||
```sh
|
||||
tar -zxf hibachi.tgz
|
||||
lynx hibachi/localhost/index.html
|
||||
tar -zxf hibachi.tgz
|
||||
lynx hibachi/localhost/index.html
|
||||
```
|
||||
|
||||
Or once `Hibachi` is running, use a web browser (preferably one that
|
||||
@@ -59,19 +59,19 @@ To build just the executable:
|
||||
For Cygwin, FreeBSD, Linux (newer), Mac OS X:
|
||||
|
||||
```sh
|
||||
gcc -o hibachi hibachi.c
|
||||
gcc -o hibachi hibachi.c
|
||||
```
|
||||
|
||||
For Linux (older):
|
||||
|
||||
```sh
|
||||
gcc -DSHUT_WR=1 -o hibachi hibachi.c
|
||||
gcc -DSHUT_WR=1 -o hibachi hibachi.c
|
||||
```
|
||||
|
||||
For SunOS:
|
||||
|
||||
```sh
|
||||
gcc -o hibachi hibachi.c -lnsl -lsocket
|
||||
gcc -o hibachi hibachi.c -lnsl -lsocket
|
||||
```
|
||||
|
||||
Since some systems place socket and network functions into other libraries, a
|
||||
@@ -82,27 +82,27 @@ headers and functions are present, and setup the `#!` paths for the CGI
|
||||
examples. In which case the preferred build commands are:
|
||||
|
||||
```
|
||||
./configure [--enable-port=number]
|
||||
make
|
||||
./configure [--enable-port=number]
|
||||
make
|
||||
```
|
||||
|
||||
To start the server on the default port (8008):
|
||||
|
||||
```sh
|
||||
cd build;
|
||||
./hibachi-start.sh &
|
||||
cd build;
|
||||
./hibachi-start.sh &
|
||||
```
|
||||
|
||||
To test the server:
|
||||
|
||||
```sh
|
||||
lynx http://localhost:8008/
|
||||
lynx http://localhost:8008/
|
||||
```
|
||||
|
||||
To stop the server:
|
||||
|
||||
```sh
|
||||
kill %1
|
||||
kill %1
|
||||
```
|
||||
|
||||
### Features
|
||||
|
||||
Reference in new issue
Block a user