instiki/vendor/plugins/maruku/tests/unittest/code.md
Jacques Distler 38ae064b8a Bundle Latest REXML
Sam Ruby has been doing a bang-up job fixing the bugs in REXML.
Who knows when these improvements will trickle down to vendor distributions of Ruby.
In the meantime, let's bundle the latest version of REXML with Instiki.
We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
2008-01-11 23:53:29 -06:00

62 lines
1.1 KiB
Markdown

Comment
*** Parameters: ***
{}
*** Markdown input: ***
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
tab
*** Output of inspect ***
md_el(:document,[
md_par(["Here is an example of AppleScript:"]),
md_el(:code,[],{:raw_code=>"tell application \"Foo\"\n beep\nend tell\n\ttab"},[])
],{},[])
*** Output of to_html ***
<p>Here is an example of AppleScript:</p>
<pre><code>tell application &quot;Foo&quot;
beep
end tell
tab</code></pre>
*** Output of to_latex ***
Here is an example of AppleScript:
\begin{verbatim}tell application "Foo"
beep
end tell
tab\end{verbatim}
*** Output of to_md ***
Here is an example of AppleScript:
*** Output of to_s ***
Here is an example of AppleScript:
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Here is an example of AppleScript:</p>
<pre><code>tell application "Foo"
beep
end tell
tab
</code></pre>
*** Output of Markdown.pl (parsed) ***
<div>
<p>
Here is an example of AppleScript:
</p>
<pre>
<code>
tell application "Foo" beep end tell tab
</code>
</pre>
</div>