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

+2 -2
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make all
```
## Try:
```<!---sh-->
``` <!---sh-->
./applin
```
+4 -4
View File
@@ -1,20 +1,20 @@
## To build:
```<!---sh-->
``` <!---sh-->
make all
```
## To use:
```<!---sh-->
``` <!---sh-->
./august
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -22,7 +22,7 @@ If you have the `primes(6)` tool (sometimes part of [BSD
Games](https://github.com/vattam/BSDGames)) you can see
what of the output in the first `N` (say `15` or `25`) lines are primes:
```<!---sh-->
``` <!---sh-->
./primes.sh # 15
./primes.sh 25
```
+7 -7
View File
@@ -1,13 +1,13 @@
## To build:
```<!---sh-->
``` <!---sh-->
make alt
```
## To use:
```<!---sh-->
``` <!---sh-->
./lycklama.alt < some_file
```
@@ -24,13 +24,13 @@ call with a configurable time to sleep. The default is 500 microseconds but you
reconfigure it like:
```<!---sh-->
``` <!---sh-->
make SLEEP=700 clobber alt
```
which would set it at 700. Then, whether you use the default value or not, try:
```<!---sh-->
``` <!---sh-->
./try.alt.sh
```
@@ -45,21 +45,21 @@ modern systems.
### Original build:
```<!---sh-->
``` <!---sh-->
make all
```
### Original use:
```<!---sh-->
``` <!---sh-->
./lycklama < some_file
```
### Original try:
```<!---sh-->
``` <!---sh-->
./lycklama < lycklama.c
./lycklama < lycklama.alt.c
./lycklama < lycklama.orig.c
+5 -5
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make all
```
@@ -10,7 +10,7 @@ There is alternate code which allows one to change the size of the maze. See
### To run:
```<!---sh-->
``` <!---sh-->
./shapiro
```
@@ -23,7 +23,7 @@ of the maze. The alt code allows one to easily do this.
### Alternate build:
```<!---sh-->
``` <!---sh-->
make alt
```
@@ -32,7 +32,7 @@ of the maze. The alt code allows one to easily do this.
If you wish to change the value you can do it like:
```<!---sh-->
``` <!---sh-->
make clobber SIZE=5 alt
```
@@ -41,7 +41,7 @@ error. If it's <= 0 || >= 5000 then it is set to 39, the default.
You might also wish to try:
```<!---sh-->
``` <!---sh-->
./try.alt.sh
```
+7 -7
View File
@@ -1,6 +1,6 @@
## To build:
```<!---sh-->
``` <!---sh-->
make all
```
@@ -11,7 +11,7 @@ more details on it.
## To use:
```<!---sh-->
``` <!---sh-->
./sicherman < file
echo foo | ./sicherman
@@ -23,7 +23,7 @@ more details on it.
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
@@ -43,7 +43,7 @@ audience.
Although this will be built if the original fails to compile you can do it
manually like:
```<!---sh-->
``` <!---sh-->
make alt
```
@@ -52,14 +52,14 @@ In this case it will be built as `sicherman.alt`.
### Alternate use:
```<!---sh-->
``` <!---sh-->
./sicherman.alt < file
```
### Alternate try:
```<!---sh-->
``` <!---sh-->
./try.alt.sh
```
@@ -80,7 +80,7 @@ on a line. Now enter the letters 'n' through 'z'. But to borrow a quote
from Richard Stallman: If you think you understand what this code
does, then you don't, so read it again! Explain why:
```<!---sh-->
``` <!---sh-->
./sicherman < sicherman.c | ./sicherman | diff - ./sicherman.c
```