-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabling rules may for example be wished to use another plugin that uses the same syntax.
- Loading branch information
Joshua Gleitze
committed
May 1, 2016
1 parent
d5b61e2
commit 9eae3ce
Showing
4 changed files
with
363 additions
and
0 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,142 @@ | ||
<h1>h1 Heading em português</h1> | ||
<h2>h2 Heading :P</h2> | ||
<h3>h3 Heading</h3> | ||
<h4>h4 Heading</h4> | ||
<h5>h5 Heading</h5> | ||
<h6>h6 Heading</h6> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Typographic replacements</h2> | ||
<p>Enable typographer option to see result.</p> | ||
<p>(c) (C) (r) (R) (tm) (TM) (p) (P) +-</p> | ||
<p>test.. test... test..... test?..... test!....</p> | ||
<p>!!!!!! ???? ,, -- ---</p> | ||
<p>"Smartypants, double quotes" and 'single quotes'</p> | ||
<h2>Emphasis</h2> | ||
<p><strong>This is bold text</strong></p> | ||
<p><strong>This is bold text</strong></p> | ||
<p><em>This is italic text</em></p> | ||
<p><em>This is italic text</em></p> | ||
<p>~~Strikethrough~~</p> | ||
<h2>Blockquotes</h2> | ||
<p>> Blockquotes can also be nested... | ||
>> ...by using additional greater-than signs right next to each other... | ||
> > > ...or with spaces between arrows.</p> | ||
<h2>Lists</h2> | ||
<p>Unordered</p> | ||
<ul> | ||
<li>Create a list by starting a line with <code>+</code>, <code>-</code>, or <code>*</code></li> | ||
<li>Sub-lists are made by indenting 2 spaces: | ||
<ul> | ||
<li>Marker character change forces new list start: | ||
<ul> | ||
<li>Ac tristique libero volutpat at</li> | ||
</ul> | ||
<ul> | ||
<li>Facilisis in pretium nisl aliquet</li> | ||
</ul> | ||
<ul> | ||
<li>Nulla volutpat aliquam velit</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
<li>Very easy!</li> | ||
</ul> | ||
<p>Ordered</p> | ||
<ol> | ||
<li>Lorem ipsum dolor sit amet</li> | ||
<li>Consectetur adipiscing elit</li> | ||
<li>Integer molestie lorem at massa</li> | ||
</ol> | ||
<h2>Code</h2> | ||
<p>Inline <code>code</code></p> | ||
<p>Indented code</p> | ||
<pre><code>// Some comments | ||
line 1 of code | ||
line 2 of code | ||
line 3 of code | ||
</code></pre> | ||
<p>Block code "fences"</p> | ||
<pre><code>Sample text here... | ||
</code></pre> | ||
<p>Syntax highlighting</p> | ||
<pre><code class="language-js">var foo = function (bar) { | ||
return bar++; | ||
}; | ||
|
||
console.log(foo(5)); | ||
</code></pre> | ||
<h2>Tables</h2> | ||
<p>| Option | Description | | ||
| ------ | ----------- | | ||
| data | path to data files to supply the data that will be passed into templates. | | ||
| engine | engine to be used for processing templates. Handlebars is the default. | | ||
| ext | extension to be used for dest files. |</p> | ||
<p>Right aligned columns</p> | ||
<p>| Option | Description | | ||
| ------:| -----------:| | ||
| data | path to data files to supply the data that will be passed into templates. | | ||
| engine | engine to be used for processing templates. Handlebars is the default. | | ||
| ext | extension to be used for dest files. |</p> | ||
<h2>Links</h2> | ||
<p><a href="http://dev.nodeca.com">link text</a></p> | ||
<p>Autoconverted link https://github.com/nodeca/pica (enable linkify to see)</p> | ||
<h2>Images</h2> | ||
<p><img src="https://octodex.github.com/images/minion.png" alt="Minion"> | ||
<img src="https://octodex.github.com/images/stormtroopocat.jpg" alt="Stormtroopocat" title="The Stormtroopocat"></p> | ||
<p><img src="https://octodex.github.com/images/dojocat.jpg" alt="Alt text" title="The Dojocat"></p> | ||
<h2>Plugins</h2> | ||
<p>The killer feature of <code>markdown-it</code> is very effective support of | ||
<a href="https://www.npmjs.org/browse/keyword/markdown-it-plugin">syntax plugins</a>.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-emoji">Emojies</a></h3> | ||
<p>> Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum: | ||
> | ||
> Shortcuts (emoticons): :-) :-( 8-) ;)</p> | ||
<p>see <a href="https://github.com/markdown-it/markdown-it-emoji#change-output">how to change output</a> with twemoji.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-sub">Subscipt</a> / <a href="https://github.com/markdown-it/markdown-it-sup">Superscirpt</a></h3> | ||
<ul> | ||
<li>19^th^</li> | ||
<li>H~2~O</li> | ||
</ul> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-ins"><ins></a></h3> | ||
<p>++Inserted text++</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-mark"><mark></a></h3> | ||
<p>==Marked text==</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-footnote">Footnotes</a></h3> | ||
<p>Footnote 1 link[^first].</p> | ||
<p>Footnote 2 link[^second].</p> | ||
<p>Inline footnote^[Text of inline footnote] definition.</p> | ||
<p>Duplicated footnote reference[^second].</p> | ||
<p>[^first]: Footnote <strong>can have markup</strong></p> | ||
<pre><code>and multiple paragraphs. | ||
</code></pre> | ||
<p>[^second]: Footnote text.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-deflist">Definition lists</a></h3> | ||
<p>Term 1</p> | ||
<p>: Definition 1 | ||
with lazy continuation.</p> | ||
<p>Term 2 with <em>inline markup</em></p> | ||
<p>: Definition 2</p> | ||
<pre><code> { some code, part of Definition 2 } | ||
|
||
Third paragraph of definition 2. | ||
</code></pre> | ||
<p><em>Compact style:</em></p> | ||
<p>Term 1 | ||
~ Definition 1</p> | ||
<p>Term 2 | ||
~ Definition 2a | ||
~ Definition 2b</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-abbr">Abbreviations</a></h3> | ||
<p>This is HTML abbreviation example.</p> | ||
<p>It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.</p> | ||
<p>*[HTML]: Hyper Text Markup Language</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-container">Custom containers</a></h3> | ||
<p>::: warning | ||
<em>here be dragons</em> | ||
:::</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,183 @@ | ||
<h1>h1 Heading em português</h1> | ||
<h2>h2 Heading :P</h2> | ||
<h3>h3 Heading</h3> | ||
<h4>h4 Heading</h4> | ||
<h5>h5 Heading</h5> | ||
<h6>h6 Heading</h6> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Horizontal Rule</h2> | ||
<hr> | ||
<h2>Typographic replacements</h2> | ||
<p>Enable typographer option to see result.</p> | ||
<p>(c) (C) (r) (R) (tm) (TM) (p) (P) +-</p> | ||
<p>test.. test... test..... test?..... test!....</p> | ||
<p>!!!!!! ???? ,, -- ---</p> | ||
<p>"Smartypants, double quotes" and 'single quotes'</p> | ||
<h2>Emphasis</h2> | ||
<p><strong>This is bold text</strong></p> | ||
<p><strong>This is bold text</strong></p> | ||
<p><em>This is italic text</em></p> | ||
<p><em>This is italic text</em></p> | ||
<p>~~Strikethrough~~</p> | ||
<h2>Blockquotes</h2> | ||
<blockquote> | ||
<p>Blockquotes can also be nested...</p> | ||
<blockquote> | ||
<p>...by using additional greater-than signs right next to each other...</p> | ||
<blockquote> | ||
<p>...or with spaces between arrows.</p> | ||
</blockquote> | ||
</blockquote> | ||
</blockquote> | ||
<h2>Lists</h2> | ||
<p>Unordered</p> | ||
<ul> | ||
<li>Create a list by starting a line with <code>+</code>, <code>-</code>, or <code>*</code></li> | ||
<li>Sub-lists are made by indenting 2 spaces: | ||
<ul> | ||
<li>Marker character change forces new list start: | ||
<ul> | ||
<li>Ac tristique libero volutpat at</li> | ||
</ul> | ||
<ul> | ||
<li>Facilisis in pretium nisl aliquet</li> | ||
</ul> | ||
<ul> | ||
<li>Nulla volutpat aliquam velit</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
<li>Very easy!</li> | ||
</ul> | ||
<p>Ordered</p> | ||
<ol> | ||
<li>Lorem ipsum dolor sit amet</li> | ||
<li>Consectetur adipiscing elit</li> | ||
<li>Integer molestie lorem at massa</li> | ||
</ol> | ||
<h2>Code</h2> | ||
<p>Inline <code>code</code></p> | ||
<p>Indented code</p> | ||
<pre><code>// Some comments | ||
line 1 of code | ||
line 2 of code | ||
line 3 of code | ||
</code></pre> | ||
<p>Block code "fences"</p> | ||
<pre><code>Sample text here... | ||
</code></pre> | ||
<p>Syntax highlighting</p> | ||
<pre><code class="language-js">var foo = function (bar) { | ||
return bar++; | ||
}; | ||
|
||
console.log(foo(5)); | ||
</code></pre> | ||
<h2>Tables</h2> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Option</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>data</td> | ||
<td>path to data files to supply the data that will be passed into templates.</td> | ||
</tr> | ||
<tr> | ||
<td>engine</td> | ||
<td>engine to be used for processing templates. Handlebars is the default.</td> | ||
</tr> | ||
<tr> | ||
<td>ext</td> | ||
<td>extension to be used for dest files.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p>Right aligned columns</p> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th style="text-align:right">Option</th> | ||
<th style="text-align:right">Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td style="text-align:right">data</td> | ||
<td style="text-align:right">path to data files to supply the data that will be passed into templates.</td> | ||
</tr> | ||
<tr> | ||
<td style="text-align:right">engine</td> | ||
<td style="text-align:right">engine to be used for processing templates. Handlebars is the default.</td> | ||
</tr> | ||
<tr> | ||
<td style="text-align:right">ext</td> | ||
<td style="text-align:right">extension to be used for dest files.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<h2>Links</h2> | ||
<p><a href="http://dev.nodeca.com">link text</a></p> | ||
<p>Autoconverted link https://github.com/nodeca/pica (enable linkify to see)</p> | ||
<h2>Images</h2> | ||
<p><img src="https://octodex.github.com/images/minion.png" alt="Minion"> | ||
<img src="https://octodex.github.com/images/stormtroopocat.jpg" alt="Stormtroopocat" title="The Stormtroopocat"></p> | ||
<p><img src="https://octodex.github.com/images/dojocat.jpg" alt="Alt text" title="The Dojocat"></p> | ||
<h2>Plugins</h2> | ||
<p>The killer feature of <code>markdown-it</code> is very effective support of | ||
<a href="https://www.npmjs.org/browse/keyword/markdown-it-plugin">syntax plugins</a>.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-emoji">Emojies</a></h3> | ||
<blockquote> | ||
<p>Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:</p> | ||
<p>Shortcuts (emoticons): :-) :-( 8-) ;)</p> | ||
</blockquote> | ||
<p>see <a href="https://github.com/markdown-it/markdown-it-emoji#change-output">how to change output</a> with twemoji.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-sub">Subscipt</a> / <a href="https://github.com/markdown-it/markdown-it-sup">Superscirpt</a></h3> | ||
<ul> | ||
<li>19^th^</li> | ||
<li>H~2~O</li> | ||
</ul> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-ins"><ins></a></h3> | ||
<p>++Inserted text++</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-mark"><mark></a></h3> | ||
<p>==Marked text==</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-footnote">Footnotes</a></h3> | ||
<p>Footnote 1 link[^first].</p> | ||
<p>Footnote 2 link[^second].</p> | ||
<p>Inline footnote^[Text of inline footnote] definition.</p> | ||
<p>Duplicated footnote reference[^second].</p> | ||
<p>[^first]: Footnote <strong>can have markup</strong></p> | ||
<pre><code>and multiple paragraphs. | ||
</code></pre> | ||
<p>[^second]: Footnote text.</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-deflist">Definition lists</a></h3> | ||
<p>Term 1</p> | ||
<p>: Definition 1 | ||
with lazy continuation.</p> | ||
<p>Term 2 with <em>inline markup</em></p> | ||
<p>: Definition 2</p> | ||
<pre><code> { some code, part of Definition 2 } | ||
|
||
Third paragraph of definition 2. | ||
</code></pre> | ||
<p><em>Compact style:</em></p> | ||
<p>Term 1 | ||
~ Definition 1</p> | ||
<p>Term 2 | ||
~ Definition 2a | ||
~ Definition 2b</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-abbr">Abbreviations</a></h3> | ||
<p>This is HTML abbreviation example.</p> | ||
<p>It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.</p> | ||
<p>*[HTML]: Hyper Text Markup Language</p> | ||
<h3><a href="https://github.com/markdown-it/markdown-it-container">Custom containers</a></h3> | ||
<p>::: warning | ||
<em>here be dragons</em> | ||
:::</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