fix non-indented markdown code blocks
We have fixed cases where markdown code blocks were not properly intended. Updated `markdown.md` to discuss how markdown code blocks should be indented and how blank lines should follow a markdown code block. We used this shell script to find problematic code blocks: ```sh find . -name '*.md' ! -name markdown.md -print | xargs pcregrep -M '^``.*\n[^|`\n \t]' ``` Ran `make www` to perform the above.
This commit is contained in:
1 parent
a507a06076
commit
b1516f0ed9
29 files changed
+357
-213
No files matched your search
@@ -80,7 +80,7 @@ Machine](https://web.archive.org) as of [2022 Dec
|
||||
*HINT*: To uncompress a given bzip2 compressed tarball file, use:
|
||||
|
||||
``` <!---sh-->
|
||||
tar -jxvf file.tar.bz2
|
||||
tar -jxvf file.tar.bz2
|
||||
```
|
||||
|
||||
where "_file.tar.bz2_" is the name of a file found in this directory.
|
||||
@@ -89,10 +89,10 @@ To uncompress all of the 2022 Dec 28 archive using the year based
|
||||
bzip2 compressed tarball files:
|
||||
|
||||
``` <!---sh-->
|
||||
for year in 198{4,5,6,7,8,9} 199{0,1,2,3,4,5,6,8} 200{0,1,4,5,6} 201{1,2,3,4,5,8,9} 2020; do
|
||||
rm -rf "$year"
|
||||
tar -jxvf "archive-$year.tar.bz2"
|
||||
done
|
||||
for year in 198{4,5,6,7,8,9} 199{0,1,2,3,4,5,6,8} 200{0,1,4,5,6} 201{1,2,3,4,5,8,9} 2020; do
|
||||
rm -rf "$year"
|
||||
tar -jxvf "archive-$year.tar.bz2"
|
||||
done
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -445,14 +445,14 @@ Machine</a> as of [2022 Dec
|
||||
28)(https://web.archive.org/web/20201228005211/https://www.ioccc.org/).</p>
|
||||
<h2 id="how-to-unpack">How to unpack</h2>
|
||||
<p><em>HINT</em>: To uncompress a given bzip2 compressed tarball file, use:</p>
|
||||
<pre><code>tar -jxvf file.tar.bz2</code></pre>
|
||||
<pre><code> tar -jxvf file.tar.bz2</code></pre>
|
||||
<p>where “<em>file.tar.bz2</em>” is the name of a file found in this directory.</p>
|
||||
<p>To uncompress all of the 2022 Dec 28 archive using the year based
|
||||
bzip2 compressed tarball files:</p>
|
||||
<pre><code>for year in 198{4,5,6,7,8,9} 199{0,1,2,3,4,5,6,8} 200{0,1,4,5,6} 201{1,2,3,4,5,8,9} 2020; do
|
||||
rm -rf "$year"
|
||||
tar -jxvf "archive-$year.tar.bz2"
|
||||
done</code></pre>
|
||||
<pre><code> for year in 198{4,5,6,7,8,9} 199{0,1,2,3,4,5,6,8} 200{0,1,4,5,6} 201{1,2,3,4,5,8,9} 2020; do
|
||||
rm -rf "$year"
|
||||
tar -jxvf "archive-$year.tar.bz2"
|
||||
done</code></pre>
|
||||
<!--
|
||||
|
||||
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user