instiki/vendor/plugins/maruku/tests/unittest/code.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

1 KiB

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: *** Output of to_s *** Here is an example of AppleScript: *** EOF ***

OK!

*** Output of Markdown.pl ***

Here is an example of AppleScript:

tell application "Foo"
    beep
end tell
    tab

*** Output of Markdown.pl (parsed) *** Error: #<NoMethodError: private method `write_children' called for

... </>:REXML::Element>