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 "<!---c-->" 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:
1 parent
c549f6585e
commit
3ddbac9e6b
357 files changed
+2432
-2399
No files matched your search
+12
-12
@@ -1,6 +1,6 @@
|
||||
## To build:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make
|
||||
```
|
||||
|
||||
@@ -11,7 +11,7 @@ there is a firewall issue, and also lets you redefine the timing constant,
|
||||
|
||||
## To use:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog < some_secret_or_something
|
||||
|
||||
./prog http://host[:port]
|
||||
@@ -20,19 +20,19 @@ there is a firewall issue, and also lets you redefine the timing constant,
|
||||
|
||||
## Try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog < README.md
|
||||
```
|
||||
|
||||
or maybe:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
echo "IOCCC 2014!" | ./prog
|
||||
```
|
||||
|
||||
Next, try in another terminal, as the above one is running:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog http://127.0.0.1:1701
|
||||
```
|
||||
|
||||
@@ -55,13 +55,13 @@ described by the author. See [configuration](#configuration) below.
|
||||
|
||||
To specify the port to say, 31337, try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make clobber PORT=31337 alt
|
||||
```
|
||||
|
||||
To change the timing constant, `STARDATE`, try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make clobber TIME=5000000 alt
|
||||
```
|
||||
|
||||
@@ -101,26 +101,26 @@ the server.
|
||||
|
||||
## To use web server
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog < secret_file_to_be_downloaded
|
||||
```
|
||||
|
||||
Try using the program's source code as the secret file:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog < prog.c
|
||||
```
|
||||
|
||||
## To use client-side downloader
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog http://host[:port]
|
||||
```
|
||||
|
||||
The optional port defaults to 1701. If the web server instance is started on
|
||||
the same box, try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog http://127.0.0.1:1701
|
||||
```
|
||||
|
||||
@@ -246,7 +246,7 @@ numerical values.
|
||||
For space considerations, the following include statements were dropped
|
||||
resulting in compiler warnings:
|
||||
|
||||
```<!---c-->
|
||||
``` <!---c-->
|
||||
#include <asm/byteorder.h>
|
||||
#include <ctype.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
Reference in new issue
Block a user