Difference between revisions of "Template:Snippet"

From WikEmacs
Jump to: navigation, search
m (OK - seems to work finally.)
m
Line 4: Line 4:
 
<pre>{{Snippet|(this (is ("a test")))}}</pre>will be rendered as: {{Snippet|(this (is ("a test")))}}
 
<pre>{{Snippet|(this (is ("a test")))}}</pre>will be rendered as: {{Snippet|(this (is ("a test")))}}
 
</noinclude>
 
</noinclude>
<includeonly>{{#tag:source|{{{1}}}|lang="lisp"}}}</includeonly>
+
<includeonly>{{#tag:source|{{{1}}}|lang="lisp"}}</includeonly>

Revision as of 17:11, 28 March 2012

Usage

Show a short snippet of Lisp code.

{{Snippet|(this (is ("a test")))}}
will be rendered as:
(this (is ("a test")))