Last active
February 8, 2016 17:44
-
-
Save daviddarnes/6f69ac2c0909a8429afa to your computer and use it in GitHub Desktop.
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
# These were set with GFM-rouge-configuation.html | |
kramdown: | |
input: GFM | |
syntax_highlighter: rouge |
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
Liquid highlight with language type: {% hightlight html %} | |
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span></code><button class="button--copy">Copy <span class="octicon octicon-clippy"></span></button></pre></figure> | |
Backticks with language type: ``` html | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> | |
Backticks without language type: ``` | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> | |
Tildes with language type: ~~~ html | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> | |
Tildes without language type: ~~~ | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> |
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
Backticks with language type: ``` html | |
<div class="highlight highlight-text-html-basic"><pre><<span class="pl-ent">html</span>> | |
<<span class="pl-ent">p</span>>Hello world</<span class="pl-ent">p</span>> | |
</<span class="pl-ent">html</span>></pre></div> |
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
Liquid highlight with language type: {% hightlight html %} | |
<figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span></code></pre></figure> | |
Backticks with language type: ``` html | |
<p>```html</p> | |
<p>Hi world</p> | |
<p>```</p> | |
Backticks without language type: ``` | |
<p>```</p> | |
<p>Hi world</p> | |
<p>```</p> | |
Tildes with language type: ~~~ html | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> | |
Tildes without language type: ~~~ | |
<div class="highlighter-rouge"><pre class="highlight"><code><span class="nt"><html></span> | |
<span class="nt"><p></span>Hi world<span class="nt"></p></span> | |
<span class="nt"></html></span> | |
</code></pre> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment