Merge pull request #115 from xexyl/md

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2025-03-03 07:33:46 -08:00
commit df2719a784
2 files changed
+18 -45

No files matched your search

+12 -15
View File
@@ -658,25 +658,22 @@ elements</a>.</p>
tags</a>.</p> tags</a>.</p>
<p>The trailing slash on void HTML elements has no effect and interacts badly with <p>The trailing slash on void HTML elements has no effect and interacts badly with
unquoted attribute values.</p> unquoted attribute values.</p>
<p>For example, please do <strong>NOT</strong> use:</p> <p>For example, please do <strong>NOT</strong> use markdown like these:</p>
<pre><code> &lt;br/&gt; &lt;=== no thank you</code></pre> <pre><code> &lt;br/&gt; &lt;=== no thank you
<p>Instead use just:</p>
<pre><code> &lt;br&gt;</code></pre> &lt;hr/&gt; &lt;=== no thank you
<p>And for example, please do <strong>NOT</strong> use:</p>
<pre><code> &lt;hr/&gt; &lt;=== no thank you</code></pre> &lt;img src=&quot;1984-anonymous-tattoo.jpg&quot;
<p>Instead use just:</p>
<pre><code> &lt;br&gt;</code></pre>
<p>and</p>
<pre><code> &lt;hr&gt;</code></pre>
<p>And for example, please do <strong>NOT</strong> use:</p>
<pre><code> &lt;img src=&quot;1984-anonymous-tattoo.jpg&quot;
alt=&quot;image of a tattoo of the 1984 anonymous C code&quot; alt=&quot;image of a tattoo of the 1984 anonymous C code&quot;
width=600 height=401 /&gt; &lt;=== no thank you</code></pre> width=600 height=401 /&gt; &lt;=== no thank you</code></pre>
<p>Instead use just:</p> <p>Instead use, respectively:</p>
<pre><code> &lt;img src=&quot;1984-anonymous-tattoo.jpg&quot; <pre><code> &lt;br&gt;
&lt;hr&gt;
&lt;img src=&quot;1984-anonymous-tattoo.jpg&quot;
alt=&quot;image of a tattoo of the 1984 anonymous C code&quot; alt=&quot;image of a tattoo of the 1984 anonymous C code&quot;
width=600 height=401&gt;</code></pre> width=600 height=401&gt;</code></pre>
<p>etc.</p>
<p>Jump to: <a href="#">top</a></p> <p>Jump to: <a href="#">top</a></p>
<div id="backslash"> <div id="backslash">
<div id="br"> <div id="br">
+6 -30
View File
@@ -396,54 +396,30 @@ tags](https://github.com/validator/validator/wiki/Markup-»-Void-elements#traili
The trailing slash on void HTML elements has no effect and interacts badly with The trailing slash on void HTML elements has no effect and interacts badly with
unquoted attribute values. unquoted attribute values.
For example, please do **NOT** use: For example, please do **NOT** use markdown like these:
``` <!---html--> ``` <!---html-->
<br/> <=== no thank you <br/> <=== no thank you
```
Instead use just:
``` <!---html-->
<br>
```
And for example, please do **NOT** use:
``` <!---html-->
<hr/> <=== no thank you <hr/> <=== no thank you
```
Instead use just:
``` <!---html-->
<br>
```
and
``` <!---html-->
<hr>
```
And for example, please do **NOT** use:
``` <!---html-->
<img src="1984-anonymous-tattoo.jpg" <img src="1984-anonymous-tattoo.jpg"
alt="image of a tattoo of the 1984 anonymous C code" alt="image of a tattoo of the 1984 anonymous C code"
width=600 height=401 /> <=== no thank you width=600 height=401 /> <=== no thank you
``` ```
Instead use just: Instead use, respectively:
``` <!---html--> ``` <!---html-->
<br>
<hr>
<img src="1984-anonymous-tattoo.jpg" <img src="1984-anonymous-tattoo.jpg"
alt="image of a tattoo of the 1984 anonymous C code" alt="image of a tattoo of the 1984 anonymous C code"
width=600 height=401> width=600 height=401>
``` ```
etc.
Jump to: [top](#) Jump to: [top](#)
<div id="backslash"> <div id="backslash">