-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
606 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h1>Block Quote</h1> | ||
<blockquote> | ||
<ul> | ||
<li> | ||
<pre><code>code.in.a.list(); | ||
</code></pre> | ||
</li> | ||
<li> | ||
<p>Paragraph.</p> | ||
</li> | ||
<li> | ||
<p>Normal list</p> | ||
</li> | ||
</ul> | ||
<p>Paragraph.</p> | ||
</blockquote> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<h1>Code</h1> | ||
<pre><code class="language-js">alert('some JavaScript code.'); | ||
</code></pre> | ||
<pre><code>foo bar baz | ||
</code></pre> | ||
<pre><code>alpha bravo charlie | ||
</code></pre> | ||
<pre><code class="language-empty"></code></pre> | ||
<pre><code class="language-tabs"> two spaces | ||
one | ||
two | ||
one | ||
mixed. | ||
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<h1>Entities</h1> | ||
<p>Plain text:</p> | ||
<p>AT&T with entity, AT&T with numeric entity, AT&T without entity.</p> | ||
<p>Fenced code language flags:</p> | ||
<pre><code class="language-AT&T">Something in the AT&amp;T language | ||
</code></pre> | ||
<pre><code class="language-AT&T">Something in the AT&#x26;T language | ||
</code></pre> | ||
<pre><code class="language-AT&T">Something in the AT&T language | ||
</code></pre> | ||
<p>Automatic links:</p> | ||
<p><a href="http://at&amp;t.com">http://at&amp;t.com</a>, <a href="http://at&#x26;t.com">http://at&#x26;t.com</a>, and <a href="http://at&t.com">http://at&t.com</a>.</p> | ||
<p>Link <code>href</code>:</p> | ||
<p><a href="http://at&t.com">With entity</a>, <a href="http://at&t.com">numeric entity</a>, <a href="http://at&t.com">without entity</a>.</p> | ||
<p>Link <code>title</code>:</p> | ||
<p><a href="http://att.com" title="AT&T">With entity</a>, <a href="http://att.com" title="AT&T">numeric entity</a>, <a href="http://example.com" title="AT&T">without entity</a>.</p> | ||
<p>Image <code>src</code>:</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="With entity">, <img src="http://at&t.com/fav.ico" alt="numeric entity">, <img src="http://at&t.com/fav.ico" alt="without entity">.</p> | ||
<p>Image <code>alt</code>:</p> | ||
<p><img src="http://att.com/fav.ico" alt="AT&T with entity">, <img src="http://att.com/fav.ico" alt="AT&T with numeric entity">, <img src="http://att.com/fav.ico" alt="AT&T without entity">.</p> | ||
<p>Image <code>title</code>:</p> | ||
<p><img src="http://att.com/fav.ico" alt="With entity" title="AT&T">, <img src="http://att.com/fav.ico" alt="numeric entity" title="AT&T">, <img src="http://att.com/fav.ico" alt="without entity" title="AT&T">.</p> | ||
<p>Reference <code>link</code>:</p> | ||
<p><a href="http://at&t.com/fav.ico" title="ATT favicon">Entity</a>, <a href="http://at&t.com/fav.ico" title="ATT favicon">Numeric entity</a>, <a href="http://at&t.com/fav.ico" title="ATT favicon">Literal</a>.</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="Entity" title="ATT favicon">, <img src="http://at&t.com/fav.ico" alt="Numeric entity" title="ATT favicon">, <img src="http://at&t.com/fav.ico" alt="Literal" title="ATT favicon">.</p> | ||
<p>Reference <code>title</code>:</p> | ||
<p><a href="http://at&t.com/fav.ico" title="AT&T favicon">Entity</a>, <a href="http://at&t.com/fav.ico" title="AT&T favicon">Numeric entity</a>, <a href="http://at&t.com/fav.ico" title="AT&T favicon">Literal</a>.</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="Entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="Numeric entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="Literal" title="AT&T favicon">.</p> | ||
<p>Image Reference <code>alt</code>:</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="AT&T with entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="AT&T with numeric entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="AT&T without entity" title="AT&T favicon">.</p> | ||
<p>Definitions:</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<h1>Entities</h1> | ||
<p>Plain text:</p> | ||
<p>AT&T with entity, AT&T with numeric entity, AT&T without entity.</p> | ||
<p>Fenced code language flags:</p> | ||
<pre><code class="language-AT&T">Something in the AT&amp;T language | ||
</code></pre> | ||
<pre><code class="language-AT&T">Something in the AT&#x26;T language | ||
</code></pre> | ||
<pre><code class="language-AT&T">Something in the AT&T language | ||
</code></pre> | ||
<p>Automatic links:</p> | ||
<p><a href="http://at&amp;t.com">http://at&amp;t.com</a>, <a href="http://at&#x26;t.com">http://at&#x26;t.com</a>, and <a href="http://at&t.com">http://at&t.com</a>.</p> | ||
<p>Link <code>href</code>:</p> | ||
<p><a href="http://at&t.com">With entity</a>, <a href="http://at&t.com">numeric entity</a>, <a href="http://at&t.com">without entity</a>.</p> | ||
<p>Link <code>title</code>:</p> | ||
<p><a href="http://att.com" title="AT&T">With entity</a>, <a href="http://att.com" title="AT&T">numeric entity</a>, <a href="http://example.com" title="AT&T">without entity</a>.</p> | ||
<p>Image <code>src</code>:</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="With entity">, <img src="http://at&t.com/fav.ico" alt="numeric entity">, <img src="http://at&t.com/fav.ico" alt="without entity">.</p> | ||
<p>Image <code>alt</code>:</p> | ||
<p><img src="http://att.com/fav.ico" alt="AT&T with entity">, <img src="http://att.com/fav.ico" alt="AT&T with numeric entity">, <img src="http://att.com/fav.ico" alt="AT&T without entity">.</p> | ||
<p>Image <code>title</code>:</p> | ||
<p><img src="http://att.com/fav.ico" alt="With entity" title="AT&T">, <img src="http://att.com/fav.ico" alt="numeric entity" title="AT&T">, <img src="http://att.com/fav.ico" alt="without entity" title="AT&T">.</p> | ||
<p>Reference <code>link</code>:</p> | ||
<p><a href="http://at&t.com/fav.ico" title="ATT favicon">Entity</a>, <a href="http://at&t.com/fav.ico" title="ATT favicon">Numeric entity</a>, <a href="http://at&t.com/fav.ico" title="ATT favicon">Literal</a>.</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="Entity" title="ATT favicon">, <img src="http://at&t.com/fav.ico" alt="Numeric entity" title="ATT favicon">, <img src="http://at&t.com/fav.ico" alt="Literal" title="ATT favicon">.</p> | ||
<p>Reference <code>title</code>:</p> | ||
<p><a href="http://at&t.com/fav.ico" title="AT&T favicon">Entity</a>, <a href="http://at&t.com/fav.ico" title="AT&T favicon">Numeric entity</a>, <a href="http://at&t.com/fav.ico" title="AT&T favicon">Literal</a>.</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="Entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="Numeric entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="Literal" title="AT&T favicon">.</p> | ||
<p>Image Reference <code>alt</code>:</p> | ||
<p><img src="http://at&t.com/fav.ico" alt="AT&T with entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="AT&T with numeric entity" title="AT&T favicon">, <img src="http://at&t.com/fav.ico" alt="AT&T without entity" title="AT&T favicon">.</p> | ||
<p>Definitions:</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<p>These should all get escaped:</p> | ||
<p>Backslash: \</p> | ||
<p>Backtick: `</p> | ||
<p>Asterisk: *</p> | ||
<p>Underscore: _</p> | ||
<p>Left brace: {</p> | ||
<p>Right brace: }</p> | ||
<p>Left bracket: [</p> | ||
<p>Right bracket: ]</p> | ||
<p>Left paren: (</p> | ||
<p>Right paren: )</p> | ||
<p>Greater-than: ></p> | ||
<p>Hash: #</p> | ||
<p>Period: .</p> | ||
<p>Bang: !</p> | ||
<p>Plus: +</p> | ||
<p>Minus: -</p> | ||
<p><strong>GFM:</strong></p> | ||
<p>Pipe: |</p> | ||
<p>Tilde: ~</p> | ||
<p><strong>Commonmark:</strong></p> | ||
<p>Quote: "</p> | ||
<p>Dollar: $</p> | ||
<p>Percentage: %</p> | ||
<p>Ampersand: &</p> | ||
<p>Single quote: '</p> | ||
<p>Comma: ,</p> | ||
<p>Forward slash: /</p> | ||
<p>Colon: :</p> | ||
<p>Semicolon: ;</p> | ||
<p>Less-than: <</p> | ||
<p>Equals: =</p> | ||
<p>Question mark: ?</p> | ||
<p>At-sign: @</p> | ||
<p>Caret: ^</p> | ||
<p>New line: <br> | ||
only works in paragraphs.</p> | ||
<p>Two spaces:<br> | ||
only works in paragraphs.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<p>These should all get escaped:</p> | ||
<p>Backslash: \</p> | ||
<p>Backtick: `</p> | ||
<p>Asterisk: *</p> | ||
<p>Underscore: _</p> | ||
<p>Left brace: {</p> | ||
<p>Right brace: }</p> | ||
<p>Left bracket: [</p> | ||
<p>Right bracket: ]</p> | ||
<p>Left paren: (</p> | ||
<p>Right paren: )</p> | ||
<p>Greater-than: ></p> | ||
<p>Hash: #</p> | ||
<p>Period: .</p> | ||
<p>Bang: !</p> | ||
<p>Plus: +</p> | ||
<p>Minus: -</p> | ||
<p><strong>GFM:</strong></p> | ||
<p>Pipe: |</p> | ||
<p>Tilde: ~</p> | ||
<p><strong>Commonmark:</strong></p> | ||
<p>Quote: "</p> | ||
<p>Dollar: $</p> | ||
<p>Percentage: %</p> | ||
<p>Ampersand: &</p> | ||
<p>Single quote: '</p> | ||
<p>Comma: ,</p> | ||
<p>Forward slash: /</p> | ||
<p>Colon: :</p> | ||
<p>Semicolon: ;</p> | ||
<p>Less-than: <</p> | ||
<p>Equals: =</p> | ||
<p>Question mark: ?</p> | ||
<p>At-sign: @</p> | ||
<p>Caret: ^</p> | ||
<p>New line: <br> | ||
only works in paragraphs.</p> | ||
<p>Two spaces:<br> | ||
only works in paragraphs.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p>Foo bar baz qux.</p> | ||
<h1>heading</h1> | ||
<p>Alpha <a>bravo</a> charlie.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>Alpha</h1> | ||
<p><strong>Foo</strong> <em>bar</em> <sup>baz</sup> <sub>qux</sub>.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<p><img src="http://example.com/favicon.ico" alt="Example" title="Example Image"></p> | ||
<p><img src="http://example.com/favicon.ico" alt="Example"></p> | ||
<p><img src="http://example.com/favicon.ico" alt=""></p> | ||
<p><img src="" alt="" title="Example Image"></p> | ||
<p><img src="" alt=""></p> | ||
<p><img src="" alt=""></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<p><a href="http://example.com" title="Example Link">Example</a></p> | ||
<p><a href="http://example.com">Example</a></p> | ||
<p><a href="http://example.com"></a></p> | ||
<p><a href="" title="Example Link"></a></p> | ||
<p><a href=""></a></p> | ||
<p><a href=""></a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<h1>List</h1> | ||
<ul> | ||
<li><strong>One</strong>;</li> | ||
<li><em>Two</em>;</li> | ||
<li>~~Three~~.</li> | ||
</ul> | ||
<ol> | ||
<li>One;</li> | ||
<li>Two;</li> | ||
</ol> | ||
<!-- --> | ||
<ol start="4"> | ||
<li>Four.</li> | ||
<li>Five.</li> | ||
</ol> | ||
<ul> | ||
<li> | ||
<p>Loose:</p> | ||
<ul> | ||
<li>Alpha;</li> | ||
<li>Bravo;</li> | ||
<li>Charlie.</li> | ||
</ul> | ||
</li> | ||
<li> | ||
<p>Loose 2:</p> | ||
<ul> | ||
<li>Delta;</li> | ||
<li>Echo;</li> | ||
<li>Foxtrot.</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<hr> | ||
<pre><code>And a rule. | ||
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h1>References</h1> | ||
<p>Entities contains some serious entity tests relating to titles and links | ||
in definitions.</p> | ||
<p>However, the [missing], [missing][], and [missing][missing] are omitted.</p> | ||
<p>However, the ![missing], ![missing][], and ![missing][missing] are omitted.</p> | ||
<p>Same goes for [][empty] and ![][empty].</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h1>Horizontal Rules</h1> | ||
<hr> | ||
<hr> | ||
<hr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<p>Hello<br /> | ||
world</p> | ||
<hr /> | ||
<p><img src="http://exaple.com/fav.ico" alt="Favicon" title="Example Favicon" /></p> |
Oops, something went wrong.