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

+7 -7
View File
@@ -1,27 +1,27 @@
## To build:
```<!---sh-->
``` <!---sh-->
make
```
## To use:
```<!---sh-->
``` <!---sh-->
./hamaji < a_nonogram_file
```
## Try:
```<!---sh-->
``` <!---sh-->
./try.sh
```
If you have perl installed you should be able to reproduce
[dragon.nono](dragon.nono) like:
```<!---sh-->
``` <!---sh-->
perl c2nono.pl hamaji.c | ./hamaji
```
@@ -181,7 +181,7 @@ with the well obfuscated code.
This program uses two C99 features. One line comments and `long long`.
GCC's `-ansi -pedantic` check should pass:
```<!---sh-->
``` <!---sh-->
cc -ansi -pedantic -std=c99 hamaji.c
```
@@ -196,7 +196,7 @@ memory layout, undefined evaluation order (e.g., `a[i++]=i`), etc.
This program won't work if the size of `long long` literal is less than 8.
By grepping the source code of gcc
```<!---sh-->
``` <!---sh-->
grep LONG_LONG_TYPE_SIZE gcc/config/*/*
```
@@ -224,7 +224,7 @@ was randomly generated. The [codegolf.nono](codegolf.nono) and
You can reproduce [dragon.nono](dragon.nono) from [hamaji.c](hamaji.c) using
[c2nono.pl](c2nono.pl):
```<!---sh-->
``` <!---sh-->
perl c2nono.pl hamaji.c | ./hamaji
```