instiki/vendor/plugins/maruku/spec/block_docs/code.md
Jacques Distler f463a3b1c8 Fix Maruku Indented Codeblocks
I'd screwed that up.
Also, fix some bugs in the #to_md
output method. Still not correct
(and I'm not sure I'm going to
bother completing the job), but
better.
2011-08-21 02:43:43 -05:00

805 B

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 ***

Here is an example of AppleScript:

tell application "Foo"
    beep
end tell
	tab

*** 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:

 tell application "Foo"
     beep
 end tell
 	tab

*** Output of to_s *** Here is an example of AppleScript: