Difference between revisions of "Template:Snippet"

From WikEmacs
Jump to navigation Jump to 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 22: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")))