Difference between revisions of "Template:Snippet"
Jump to navigation
Jump to 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 21:05, 28 March 2012
Usage
Show a short snippet of Lisp code.
{{Snippet|(+ 1 2 3)}}
will be rendered as:
<#tag:source lang="lisp"> (+ 1 2 3) </#tag:source>