MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 48625 of Sandbox

  • Revision slug: User:Elchi3/Sandbox
  • Revision title: Sandbox
  • Revision id: 48625
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment 1 words added, 1 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}">

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>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