Difference between revisions of "Template:Snippet"

From WikEmacs
Jump to: navigation, search
m
m
Line 4: Line 4:
 
<pre>{{Snippet|(+ 1 2)}}</pre>will be rendered as: {{Snippet|(+ 1 2)}}
 
<pre>{{Snippet|(+ 1 2)}}</pre>will be rendered as: {{Snippet|(+ 1 2)}}
 
</noinclude>
 
</noinclude>
<includeonly>{{tag:source|{{{1}}}|lang="lisp"}}}</includeonly>
+
<includeonly>{{#tag:source|{{{1}}}|lang="lisp"}}}</includeonly>

Revision as of 17:05, 28 March 2012

Usage

Show a short snippet of Lisp code.

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