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
+11
-11
@@ -1,6 +1,6 @@
|
||||
## To build:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make
|
||||
```
|
||||
|
||||
@@ -21,20 +21,20 @@ For more detailed information see [2011 vik bugs](../../bugs.html#2011_vik).
|
||||
|
||||
## To use:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./vik file.mod > audio_file.raw
|
||||
```
|
||||
|
||||
If you have `mplayer(1)`:
|
||||
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./vik file.mod | mplayer -demuxer rawaudio -
|
||||
```
|
||||
|
||||
Alternatively, you can convert the file to a WAV:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./vik file.mod > file.raw; ./raw2wav file.raw > file.wav
|
||||
```
|
||||
|
||||
@@ -43,7 +43,7 @@ and then play `file.wav` with a program that can play WAV files.
|
||||
|
||||
## Try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./try.sh
|
||||
```
|
||||
|
||||
@@ -66,7 +66,7 @@ This version is based on the author's remarks and it should work for Windows.
|
||||
|
||||
Assuming that `make` is similar enough try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make alt
|
||||
```
|
||||
|
||||
@@ -87,7 +87,7 @@ initialization for?
|
||||
|
||||
Does it take your system a long time to compile? You may want to do:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
cc -S vik.c
|
||||
```
|
||||
|
||||
@@ -153,7 +153,7 @@ Bertilsson, also known as Deelite:
|
||||
|
||||
Compiling for Unix systems (including cygwin) is straight forward:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
gcc -o vik vik.c
|
||||
```
|
||||
|
||||
@@ -162,13 +162,13 @@ Compiling for Unix systems (including cygwin) is straight forward:
|
||||
|
||||
#### Convert MOD file to raw 44.1kHz stereo audio file
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./vik mad_world.mod > audio_file.raw
|
||||
```
|
||||
|
||||
#### Listen to the MOD file (streaming to mplayer)
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./vik randowan.mod | mplayer -demuxer rawaudio -
|
||||
```
|
||||
|
||||
@@ -210,7 +210,7 @@ Microsoft compilers adds a carriage return to newlines, and to compile
|
||||
the program with this platform, the following line can be added after
|
||||
the main declaration in order for the program to run correctly:
|
||||
|
||||
```<!---c-->
|
||||
``` <!---c-->
|
||||
_setmode(_fileno(stdout), 0x8000);
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user