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

+9 -9
View File
@@ -1,19 +1,19 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./prog "expression"
```
or:
```<!---sh-->
``` <!---sh-->
./prog
```
@@ -22,13 +22,13 @@ Type in expressions on standard input.
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
Notice how the script reads in from a file. If you type just:
```<!---sh-->
``` <!---sh-->
./prog
```
@@ -37,7 +37,7 @@ it will prompt you in the same way. Send ctrl-c to exit.
Finally, if you wish to read the man page:
```<!---sh-->
``` <!---sh-->
man ./calc.1
```
@@ -51,7 +51,7 @@ author's remarks below.
### Alternate build:
```<!---sh-->
``` <!---sh-->
make alt
```
@@ -109,7 +109,7 @@ Yes, this is another calculator program.
However, unlike any other calculator source code the author is aware of,
this one contains no digits. At all. Anywhere. As in
```<!---sh-->
``` <!---sh-->
grep '[0-9]' prog.c || echo no digits!
```
@@ -222,7 +222,7 @@ With `-Wall -std=c99`, both are quite noisy, and all can be ignored:
If the program name begins with an `e`, it echoes `stdin` to `stdout`.
This allows for a convenient test suite:
```<!---sh-->
``` <!---sh-->
ln -sf prog eprog
PATH=. eprog < test.in | diff - test.out
```