align no thank you's in markdown.html, add make markdown

Added `make markdown` to the top level `Makefile` to just build
the `markdown.html` file.

Sorted make rules that build individual HTML files.

Performed `make gen_top_html` to accomplish the above and to test under macOS.
This commit is contained in:
Landon Curt Noll committed 2024-07-28 21:31:01 -07:00
1 parent 975824f93b
commit 0e8f1e6e98
3 files changed
+32 -32

No files matched your search

+16 -15
View File
@@ -352,12 +352,13 @@ help:
@echo @echo
@echo '# Rules for building specific web pages, a subset of rules mentioned above:' @echo '# Rules for building specific web pages, a subset of rules mentioned above:'
@echo @echo
@echo 'make thanks ;: generate thanks-for-help.html'
@echo 'make bugs ;: generate bugs.html' @echo 'make bugs ;: generate bugs.html'
@echo 'make rules ;: generate next/rules.hmtl' @echo 'make faq ;: generate faq.html'
@echo 'make guidelines ;: generate next/guidelines.hmtl' @echo 'make guidelines ;: generate next/guidelines.hmtl'
@echo 'make faq ;: generate faq.html' @echo 'make markdown ;: generate markdown.hmtl'
@echo 'make rules ;: generate next/rules.hmtl'
@echo 'make security ;: generate SECURITY.html' @echo 'make security ;: generate SECURITY.html'
@echo 'make thanks ;: generate thanks-for-help.html'
@echo @echo
@echo '# Compound make rules for building a local copy of the IOCCC website:' @echo '# Compound make rules for building a local copy of the IOCCC website:'
@echo @echo
@@ -588,6 +589,13 @@ bugs: ${GEN_TOP_HTML} bugs.md
@echo "Eh, what's up, doc?" @echo "Eh, what's up, doc?"
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
faq: ${GEN_TOP_HTML} faq.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
@echo "You have a question?"
${GEN_TOP_HTML} -v 1 faq
@echo "Perhaps the FAQ might help!"
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
gen_next: ${GEN_TOP_HTML} next/README.md next/guidelines.md next/rules.md gen_next: ${GEN_TOP_HTML} next/README.md next/guidelines.md next/rules.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
${GEN_TOP_HTML} -v 1 next/README ${GEN_TOP_HTML} -v 1 next/README
@@ -595,23 +603,16 @@ gen_next: ${GEN_TOP_HTML} next/README.md next/guidelines.md next/rules.md
${GEN_TOP_HTML} -v 1 next/rules ${GEN_TOP_HTML} -v 1 next/rules
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
markdown: ${GEN_TOP_HTML} markdown.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
${GEN_TOP_HTML} -v 1 markdown
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
rules: ${GEN_TOP_HTML} next/rules.md rules: ${GEN_TOP_HTML} next/rules.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
${GEN_TOP_HTML} -v 1 next/rules ${GEN_TOP_HTML} -v 1 next/rules
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
guidelines: ${GEN_TOP_HTML} next/guidelines.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
${GEN_TOP_HTML} -v 1 next/guidelines
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
faq: ${GEN_TOP_HTML} faq.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
@echo "You have a question?"
${GEN_TOP_HTML} -v 1 faq
@echo "Perhaps the FAQ might help!"
@echo '=-=-=-=-= IOCCC complete make $@ =-=-=-=-='
security: ${GEN_TOP_HTML} SECURITY.md security: ${GEN_TOP_HTML} SECURITY.md
@echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-=' @echo '=-=-=-=-= IOCCC begin make $@ =-=-=-=-='
${GEN_TOP_HTML} -v 1 SECURITY ${GEN_TOP_HTML} -v 1 SECURITY
+8 -8
View File
@@ -467,7 +467,7 @@ anchors.</p>
</div> </div>
<p>Please do <strong>NOT</strong> use the obsolete <code>&lt;tt&gt;</code> <p>Please do <strong>NOT</strong> use the obsolete <code>&lt;tt&gt;</code>
(<span style="font-family: monospace;"><strong>teletype</strong></span>) HTML element:</p> (<span style="font-family: monospace;"><strong>teletype</strong></span>) HTML element:</p>
<pre><code> &lt;tt&gt;The tt element is obsolete&lt;/tt&gt; &lt;=== no thank you</code></pre> <pre><code> &lt;tt&gt;The tt element is obsolete&lt;/tt&gt; &lt;=== no thank you</code></pre>
<p>Instead use either a monospaced <code>&lt;span&gt;</code> or an inline markdown code block:</p> <p>Instead use either a monospaced <code>&lt;span&gt;</code> or an inline markdown code block:</p>
<pre><code> &lt;span style=&quot;font-family: monospace;&quot;&gt;Use of a monospaced font <pre><code> &lt;span style=&quot;font-family: monospace;&quot;&gt;Use of a monospaced font
is one option, is one option,
@@ -482,7 +482,7 @@ anchors.</p>
<p>Please do <strong>NOT</strong> start code blocks at the first column.</p> <p>Please do <strong>NOT</strong> start code blocks at the first column.</p>
<p>For example:</p> <p>For example:</p>
<pre class="&lt;!---markdown--&gt;"><code>``` &lt;!---sh--&gt; <pre class="&lt;!---markdown--&gt;"><code>``` &lt;!---sh--&gt;
echo &quot;This code block is NOT indented&quot; &lt;=== no thank you echo &quot;This code block is NOT indented&quot; &lt;=== no thank you
```</code></pre> ```</code></pre>
<p>We request that you indent the code block by multiples of 4 ASCII <strong>SPACES</strong>:</p> <p>We request that you indent the code block by multiples of 4 ASCII <strong>SPACES</strong>:</p>
<pre class="&lt;!---markdown--&gt;"><code>``` &lt;!---sh--&gt; <pre class="&lt;!---markdown--&gt;"><code>``` &lt;!---sh--&gt;
@@ -513,10 +513,10 @@ used as part of the leading whitespace within a markdown file.</p>
ASCII tab characters anywhere inside a markdown file:</p> ASCII tab characters anywhere inside a markdown file:</p>
<p>For example:</p> <p>For example:</p>
<pre class="&lt;!---markdown--&gt;"><code>``` <pre class="&lt;!---markdown--&gt;"><code>```
Please do **NOT** use ASCII tabs in markdown files. &lt;=== no thank you Please do **NOT** use ASCII tabs in markdown files. &lt;=== no thank you
Please do **NOT** indent markdown with ASCII tabs. &lt;=== no thank you Please do **NOT** indent markdown with ASCII tabs. &lt;=== no thank you
We don&#39;t mind tabs in general, &lt;=== no thank you We don&#39;t mind tabs in general, &lt;=== no thank you
We just ask that you NOT use them in markdown files. We just ask that you NOT use them in markdown files.
```</code></pre> ```</code></pre>
<p>And to clarify, we are only talking about markdown files, <p>And to clarify, we are only talking about markdown files,
@@ -556,7 +556,7 @@ spaces.</p>
blocks</a> blocks</a>
<strong>NOT</strong> specify a language directly.</p> <strong>NOT</strong> specify a language directly.</p>
<p>For example:</p> <p>For example:</p>
<pre class="&lt;!---markdown--&gt;"><code>```c &lt;=== no thank you <pre class="&lt;!---markdown--&gt;"><code>```c &lt;=== no thank you
int main(void) {return 0;} int main(void) {return 0;}
```</code></pre> ```</code></pre>
<p>Instead, put the language inside an HTML comment, separated from the <p>Instead, put the language inside an HTML comment, separated from the
@@ -732,12 +732,12 @@ an underscore (<code>_</code>). Using an asterisk can complicate parsing and som
to incorrect results. This can especially go for when it is <strong><em>bold and to incorrect results. This can especially go for when it is <strong><em>bold and
italic</em></strong>.</p> italic</em></strong>.</p>
<p>For example, instead of:</p> <p>For example, instead of:</p>
<pre><code> *this text is italic* &lt;=== no thank you</code></pre> <pre><code> *this text is italic* &lt;=== no thank you</code></pre>
<p>use:</p> <p>use:</p>
<pre><code> _this text is italic_</code></pre> <pre><code> _this text is italic_</code></pre>
<p>Another example, for <strong><em>bold italic</em></strong>:</p> <p>Another example, for <strong><em>bold italic</em></strong>:</p>
<p>Do <strong>NOT</strong> use:</p> <p>Do <strong>NOT</strong> use:</p>
<pre><code> ***this text is bold italic*** &lt;=== no thank you</code></pre> <pre><code> ***this text is bold italic*** &lt;=== no thank you</code></pre>
<p>Instead use:</p> <p>Instead use:</p>
<pre><code> **_this text is bold italic_**</code></pre> <pre><code> **_this text is bold italic_**</code></pre>
<p>or:</p> <p>or:</p>
+8 -9
View File
@@ -145,7 +145,7 @@ Please do **NOT** use the obsolete `<tt>`
(<span style="font-family: monospace;">**teletype**</span>) HTML element: (<span style="font-family: monospace;">**teletype**</span>) HTML element:
``` <!---html--> ``` <!---html-->
<tt>The tt element is obsolete</tt> <=== no thank you <tt>The tt element is obsolete</tt> <=== no thank you
``` ```
Instead use either a monospaced `<span>` or an inline markdown code block: Instead use either a monospaced `<span>` or an inline markdown code block:
@@ -175,7 +175,7 @@ For example:
```` <!---markdown--> ```` <!---markdown-->
``` <%%NO_COMMENT%%!---sh--> ``` <%%NO_COMMENT%%!---sh-->
echo "This code block is NOT indented" <=== no thank you echo "This code block is NOT indented" <=== no thank you
``` ```
```` ````
@@ -223,10 +223,10 @@ For example:
```` <!---markdown--> ```` <!---markdown-->
``` ```
Please do **NOT** use ASCII tabs in markdown files. <=== no thank you Please do **NOT** use ASCII tabs in markdown files. <=== no thank you
Please do **NOT** indent markdown with ASCII tabs. <=== no thank you Please do **NOT** indent markdown with ASCII tabs. <=== no thank you
We don't mind tabs in general, <=== no thank you We don't mind tabs in general, <=== no thank you
We just ask that you NOT use them in markdown files. We just ask that you NOT use them in markdown files.
``` ```
```` ````
@@ -294,7 +294,7 @@ blocks](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks)
For example: For example:
```` <!---markdown--> ```` <!---markdown-->
```c <=== no thank you ```c <=== no thank you
int main(void) {return 0;} int main(void) {return 0;}
``` ```
```` ````
@@ -617,7 +617,7 @@ italic_**.
For example, instead of: For example, instead of:
``` <!---markdown--> ``` <!---markdown-->
*this text is italic* <=== no thank you *this text is italic* <=== no thank you
``` ```
use: use:
@@ -632,7 +632,7 @@ Do **NOT** use:
``` <!---markdown--> ``` <!---markdown-->
***this text is bold italic*** <=== no thank you ***this text is bold italic*** <=== no thank you
``` ```
Instead use: Instead use:
@@ -646,4 +646,3 @@ or:
``` <!---markdown--> ``` <!---markdown-->
_**this text is bold italic**_ _**this text is bold italic**_
``` ```