Difference between revisions of "Template:Snippet"

From WikEmacs
Jump to: navigation, search
(Created page with "<source lang="lisp"> {{{1}}} </source>")
 
Line 1: Line 1:
<source lang="lisp">
+
<noinclude>
 +
== Usage ==
 +
Show a short snippet of Lisp code.
 +
<pre>{{Snippet|(+ 1 2 3)}}</pre>will be rendered as: {{Snippet|(+ 1 2 3)}}
 +
</noinclude>
 +
<includeonly><#tag:source lang="lisp">
 
{{{1}}}
 
{{{1}}}
</source>
+
</#tag:source></includeonly>

Revision as of 17:05, 28 March 2012

Usage

Show a short snippet of Lisp code.

{{Snippet|(+ 1 2 3)}}
will be rendered as:
(+ 1 2 3)