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
+1
-1
@@ -448,7 +448,7 @@ you encounter should give you more appreciation for the entry.</p>
|
||||
<p>If you have the energy to type in the text, or if you have access to a machine
|
||||
readable version of these programs, you should next consider some preprocessing
|
||||
such as:</p>
|
||||
<pre><code>sed -e '/^#.*include/d' prog.c | cc -E</code></pre>
|
||||
<pre><code> sed -e '/^#.*include/d' prog.c | cc -E</code></pre>
|
||||
<p>This strips away comments and expands the program’s macros without having things
|
||||
such as includes and macros cluttering up the output. If the entry requires or
|
||||
suggests the use of compile line options (such as <code>-Dindex=strchr</code>) they should
|
||||
|
||||
Reference in new issue
Block a user