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
|
||||
```
|
||||
|
||||
@@ -8,7 +8,7 @@ If you wish to save state so that you can run the program and keep files changed
|
||||
(for instance you don't want to compile `mullender.c` again) you can compile it
|
||||
like:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
make clobber SAVE=1 all
|
||||
```
|
||||
|
||||
@@ -31,14 +31,14 @@ For more detailed information see [2018 mills bugs](../../bugs.html#2018_mills).
|
||||
|
||||
## To use:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog
|
||||
```
|
||||
|
||||
|
||||
## Try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@ At the `>boot` prompt, type return.
|
||||
At the `:` prompt, type `rk(0,0)rkunix` and wait for it to initialise itself.
|
||||
Now try typing:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
cat > prog.c
|
||||
main(){ printf("Hello, world!\n"); }
|
||||
^D
|
||||
@@ -59,7 +59,7 @@ where `^D` is EOF.
|
||||
|
||||
Next try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
cc mullender.c
|
||||
a.out
|
||||
```
|
||||
@@ -81,7 +81,7 @@ Do small machines only need small programs? This program weighs in at just
|
||||
This program can take you back to the start of everything, it is possible to
|
||||
run v0. Just type:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./v0
|
||||
```
|
||||
|
||||
@@ -91,7 +91,7 @@ You will be greeted with a familiar prompt of "login". The username and
|
||||
password are "dmr" and "dmr". To make things more familiar you'll need to
|
||||
create '.' as it hasn't been invented yet on this image!
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
@ ln dd dmr .
|
||||
```
|
||||
|
||||
@@ -102,7 +102,7 @@ together like `ops.s bl.s hello.s bi.s` (in that order) to produce a.out!
|
||||
But wait, we said this was the start of it all! This program can also run a
|
||||
program that replaces an even larger machine that can run BSD 2.9. To start this,
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./prog
|
||||
```
|
||||
|
||||
@@ -118,7 +118,7 @@ shown earlier.
|
||||
|
||||
But wait, there is even more! Try:
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
./v6
|
||||
```
|
||||
|
||||
@@ -220,7 +220,7 @@ only a quarter of a century ago -- how much could things have changed?).
|
||||
Let's try some:
|
||||
|
||||
|
||||
```<!---sh-->
|
||||
``` <!---sh-->
|
||||
# ls
|
||||
.cshrc .profile boot hkunix mnt tmp
|
||||
.login 2.9stamp dev lib mullender.c unix
|
||||
|
||||
Reference in new issue
Block a user