This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<pre><code>x = Class.new
|
||||
</code></pre>
|
||||
@@ -0,0 +1,4 @@
|
||||
:syntax_highlighter: rouge
|
||||
:syntax_highlighter_opts:
|
||||
block:
|
||||
disable: true
|
||||
@@ -0,0 +1 @@
|
||||
x = Class.new
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="language-ruby highlighter-rouge"><div class="custom-class"><div class="highlight"><pre class="highlight"><code><span class="nb">puts</span> <span class="s2">"Hello"</span>
|
||||
</code></pre>
|
||||
</div></div></div>
|
||||
|
||||
<div class="language-ruby highlighter-rouge"><div class="custom-class"><div class="highlight"><pre class="highlight"><code><span class="nb">puts</span> <span class="s2">"World"</span>
|
||||
</code></pre>
|
||||
</div></div></div>
|
||||
|
||||
<div class="language-php highlighter-rouge"><div class="custom-class"><div class="highlight"><pre class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">Bar</span><span class="p">;</span>
|
||||
</code></pre>
|
||||
</div></div></div>
|
||||
@@ -0,0 +1,4 @@
|
||||
:syntax_highlighter: rouge
|
||||
:syntax_highlighter_opts:
|
||||
default_lang: ruby
|
||||
formatter: RougeHTMLFormatters
|
||||
@@ -0,0 +1,11 @@
|
||||
~~~ ruby
|
||||
puts "Hello"
|
||||
~~~
|
||||
|
||||
~~~ ruby
|
||||
puts "World"
|
||||
~~~
|
||||
|
||||
~~~ php?start_inline=1
|
||||
$foo = new Bar;
|
||||
~~~
|
||||
@@ -0,0 +1,10 @@
|
||||
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">x</span> <span class="o">=</span> <span class="no">Class</span><span class="p">.</span><span class="nf">new</span>
|
||||
</code></pre>
|
||||
</div></div>
|
||||
<div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><a></span>href<span class="nt"></a></span>
|
||||
</code></pre>
|
||||
</div></div>
|
||||
|
||||
<div class="language-php highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$foo</span> <span class="o">=</span> <span class="k">new</span> <span class="nc">Bar</span><span class="p">;</span>
|
||||
</code></pre>
|
||||
</div></div>
|
||||
@@ -0,0 +1,3 @@
|
||||
:syntax_highlighter: rouge
|
||||
:syntax_highlighter_opts:
|
||||
default_lang: ruby
|
||||
@@ -0,0 +1,9 @@
|
||||
x = Class.new
|
||||
^
|
||||
<a>href</a>
|
||||
{: .language-html}
|
||||
|
||||
|
||||
~~~ php?start_inline=1
|
||||
$foo = new Bar;
|
||||
~~~
|
||||
Reference in New Issue
Block a user