Difference between revisions of "Template:Snippet"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
− | Show a short snippet of Lisp code. | + | Show a short snippet of Lisp code. For longer examples, use a <nowiki><source lang="lisp"></nowiki> block. |
<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")))}} | ||
+ | |||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 01:16, 4 April 2012
Usage
Show a short snippet of Lisp code. For longer examples, use a <source lang="lisp"> block.
{{Snippet|(this (is ("a test")))}}
will be rendered as:
(this (is ("a test")))