instiki/vendor/plugins/maruku/spec/block_docs/divs/div3_nest.md
Jacques Distler 13a522525c REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML.
Produces a 3-fold speedup in the #to_html method.
2011-08-11 20:36:44 -05:00

1.2 KiB

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"])],{:label=>nil,:num=>nil,:type=>nil},:class, "menace") ],{:label=>nil,:num=>nil,:type=>nil},:class, "warning") ],{},[]) *** Output of to_html ***

this is the last warning!

please, go away!

or else terrible things will happen

*** Output of to_latex *** this is the last warning!

please, go away!

or else terrible things will happen *** 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