mozilla

Revision 48623 of Sandbox

  • Revision slug: User:Elchi3/Sandbox
  • Revision title: Sandbox
  • Revision id: 48623
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment 26 words added, 4 words removed

Revision Content

Syntax highlighting:

Turn line numbers off

<pre function="syntax.html{code:$, gutter: false}">

Collapse a code sample

<pre function="syntax.html{code:$, collapse: true}">

Define the starting line number

<pre function="syntax.html{code:$, first-line:3}">

Turn line wrapping on/off

<pre function="syntax.html{code:$, wrap:true}">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam

wiki.contributors():

{{ contributors(nil, 15) }}

page.viewcount:

{{ page.viewcount }}

Revision Source

<h2 id="syntax">Syntax highlighting:</h2>
<h3>Turn line numbers off</h3>
<pre class="brush: html">&lt;pre function="syntax.html{code:$, gutter: false}"&gt;
</pre>
<h3>Collapse a code sample</h3>
<pre class="brush: html">&lt;pre function="syntax.html{code:$, collapse: true}"&gt;
</pre>
<h3>Define the starting line number</h3>
<pre class="brush: html">&lt;pre function="syntax.html{code:$, first-line:3}"&gt;
</pre>
<h3>Turn line wrapping on/off</h3>
<pre class="brush: html">&lt;pre function="syntax.html{code:$, wrap:true}"&gt;
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
</pre>
<h2 id="wiki">wiki.contributors():</h2>
<p>{{ contributors(nil, 15) }}</p>
<h2 id="counter">page.viewcount:</h2>
<p>{{ page.viewcount }}</p>
Revert to this revision