improve how markdown code language is commented

We added a space between the markdown triple code mark
and language that was enclosed in HTML comments.

So a line of the form:

````
```<!---c--->
````

became:

````
``` <!---c--->
````

This was done to **help** some code see that the HTML comment
string was not a markdown code specifier.   Not all code
understands this after this changed.  For example, `pandoc(1)`
still forms HTML classes of the form "&lt;!---c--&gt;"
when it encounters the above mentioned change.

We also fixed a problem with `2019/dogon/README.md` regarding
a markdown code block.

We also fixed a problem with `2020/yang/README.md` regarding
a markdown code block.
This commit is contained in:
Landon Curt Noll committed 2024-04-12 11:45:50 -07:00
1 parent c549f6585e
commit 3ddbac9e6b
357 files changed
+2432 -2399

No files matched your search

+11 -11
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
@@ -8,7 +8,7 @@ If you wish to change the size (see the [Author's remarks](#authors-remarks)
below) you can do so with the `SIZE` variable. For instance you can do:
```<!---sh-->
``` <!---sh-->
make clobber SIZE=50,50 all
```
@@ -29,7 +29,7 @@ For more detailed information see [2013 endoh4 bugs](../../bugs.html#2013_endoh4
## To use:
```<!---sh-->
``` <!---sh-->
./endoh4 < file
./endoh4.sh file
```
@@ -41,7 +41,7 @@ line it will feed to the program [endoh4.c](endoh4.c).
## Try:
```<!---sh-->
``` <!---sh-->
./endoh4.sh cube.txt
```
@@ -51,13 +51,13 @@ The author recommends the use of xterm.
For an example, if you are a football/soccer fan, try:
```<!---sh-->
``` <!---sh-->
./endoh4.sh solids/archimedian-solid/a11-truncated-icosahedron.txt
```
You can provide more than one file:
```<!---sh-->
``` <!---sh-->
./endoh4.sh solids/archimedian-solid/a11-truncated-icosahedron.txt cube.txt
```
@@ -66,7 +66,7 @@ Hit ctrl-c/intr to go to the next file.
If you wish to change the size to `50,50` without passing any arg:
```<!---sh-->
``` <!---sh-->
SIZE=50,50 ./endoh4.sh
```
@@ -115,7 +115,7 @@ clang, and tcc. It should not trigger warnings with `-pedantic` and `-Wextra`.
You may want to use `tput` to hide the terminal cursor.
```<!---sh-->
``` <!---sh-->
tput civis
./endoh4 < cube.txt
tput cnorm
@@ -123,7 +123,7 @@ You may want to use `tput` to hide the terminal cursor.
or
```<!---sh-->
``` <!---sh-->
./endoh4.sh cube.txt
```
@@ -131,14 +131,14 @@ or
You can change the screen size. Let the aspect ratio be about 3:1.
```<!---sh-->
``` <!---sh-->
cc -DS=120,40 -o endoh4 endoh4.c
```
The shape of this code is the geometric net of a regular tetrahedron.
So, try:
```<!---sh-->
``` <!---sh-->
./endoh4 < endoh4.c # or ./endoh4.sh
```