c427807274
Sync with latest Maruku. Pave the way for Blahtex (PNG-based math) support (from Ari Stern). (no visible functionality, yet, but that will come)
70 lines
1.8 KiB
Markdown
70 lines
1.8 KiB
Markdown
Write a comment here
|
|
*** Parameters: ***
|
|
require 'maruku/ext/div'; {} # params
|
|
*** Markdown input: ***
|
|
+-----------------------------------{.warning}------
|
|
| this is the last warning!
|
|
|
|
|
| please, go away!
|
|
|
|
|
| +------------------------------------- {.menace} --
|
|
| | or else terrible things will happen
|
|
| +--------------------------------------------------
|
|
+---------------------------------------------------
|
|
*** Output of inspect ***
|
|
md_el(:document,[
|
|
md_el(:div,[
|
|
md_par(["this is the last warning!"]),
|
|
md_par(["please, go away!"]),
|
|
md_el(:div,[md_par(["or else terrible things will happen"])],{},[[:class, "menace"]])
|
|
],{},[[:class, "warning"]])
|
|
],{},[])
|
|
*** Output of to_html ***
|
|
<div class='warning'>
|
|
<p>this is the last warning!</p>
|
|
|
|
<p>please, go away!</p>
|
|
|
|
<div class='menace'>
|
|
<p>or else terrible things will happen</p>
|
|
</div>
|
|
</div>
|
|
*** Output of to_latex ***
|
|
|
|
*** Output of to_md ***
|
|
this is the last warning!
|
|
|
|
please, go away!
|
|
|
|
or else terrible things will happen
|
|
*** Output of to_s ***
|
|
this is the last warning!please, go away!or else terrible things will happen
|
|
*** EOF ***
|
|
|
|
|
|
|
|
OK!
|
|
|
|
|
|
|
|
*** Output of Markdown.pl ***
|
|
<p>+-----------------------------------{.warning}------
|
|
| this is the last warning!
|
|
|
|
|
| please, go away!
|
|
|
|
|
| +------------------------------------- {.menace} --
|
|
| | or else terrible things will happen
|
|
| +--------------------------------------------------
|
|
+---------------------------------------------------</p>
|
|
|
|
*** Output of Markdown.pl (parsed) ***
|
|
<div>
|
|
<p>
|
|
+-----------------------------------{.warning}------ | this is the last
|
|
warning! | | please, go away! | | +-------------------------------------
|
|
{.menace} -- | | or else terrible things will happen |
|
|
+--------------------------------------------------
|
|
+---------------------------------------------------
|
|
</p>
|
|
</div> |