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:
Landon Curt Noll committed 2024-04-01 04:48:48 -07:00
1 parent b84c27ce02
commit a996f8d2b8
734 files changed
+16723 -16963

No files matched your search

+11 -2
View File
@@ -101,7 +101,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.5.2 2024-03-26"
export VERSION="1.6 2024-03-31"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -788,6 +788,7 @@ fi
# write each author's information to temporary markdown file
#
export NOT_FIRST_AUTHOR
for author_handle in $AUTHOR_HANDLE_SET; do
# determine the author handle JSON path
@@ -838,6 +839,14 @@ for author_handle in $AUTHOR_HANDLE_SET; do
# write this author's information
#
{
# If not the first author, add a line break
#
if [[ -n $NOT_FIRST_AUTHOR ]]; then
echo "<br><br>"
fi
# Output this author's information
#
echo "* Name: [$FULL_NAME](${DOCROOT_SLASH}authors.html#$author_handle)<br>"
if [[ $LOCATION_CODE == null ]]; then
echo "Location: [unknown](${DOCROOT_SLASH}location.html#$LOCATION_CODE) - _${LOCATION_NAME}_"
@@ -850,7 +859,6 @@ for author_handle in $AUTHOR_HANDLE_SET; do
"_${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)"
fi
fi
echo "<br><br>"
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_FILE"
else
@@ -859,6 +867,7 @@ for author_handle in $AUTHOR_HANDLE_SET; do
echo "$0: debug[3]: -n disabled write of author's information into: $TMP_FILE" 1>&2
fi
fi
NOT_FIRST_AUTHOR="true"
done
# convert temporary markdown file into HTML