instiki/vendor/plugins/maruku/spec/block_docs/xml_instruction.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

Directives should be preserved. *** Parameters: *** {} *** Markdown input: ***

Targets

Inside: last

*** Output of inspect *** md_el(:document,[ md_el(:xml_instr,[],{:code=>" noTarget",:target=>""},[]), md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]), md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]), md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]), md_par([ "Targets ", md_el(:xml_instr,[],{:code=>"noTarget",:target=>""},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"php"},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"xml"},[]), " ", md_el(:xml_instr,[],{:code=>"",:target=>"mrk"},[]) ]), md_par([ "Inside: ", md_el(:xml_instr,[],{:code=>"puts "Inside: Hello"",:target=>"mrk"},[]), " last" ]) ],{},[]) *** Output of to_html ***

Targets

Inside: last

*** Output of to_latex *** Targets

Inside: last *** Output of to_md *** Targets

Inside: last *** Output of to_s *** Targets Inside: last