Sam Ruby has been doing a bang-up job fixing the bugs in REXML. Who knows when these improvements will trickle down to vendor distributions of Ruby. In the meantime, let's bundle the latest version of REXML with Instiki. We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
2.9 KiB
Write a comment abouth the test here. *** Parameters: *** {:title=>"Header 1"} *** Markdown input: *** Header 1
Header 2
Header 3
Then you can create links to different parts of the same document like this:
Link back to header 1, Link back to header 2, Link back to header 3
*** Output of inspect *** md_el(:document,[ md_el(:header,["Header 1"],{:level=>1},:id, "header1"), md_el(:header,["Header 2"],{:level=>2},:id, "header2"), md_el(:header,["Header 3"],{:level=>3},:id, "header3"), md_par([ "Then you can create links to different parts of the same document like this:" ]), md_par([ md_im_link(["Link back to header 1"], "#header1", nil), ", ", md_im_link(["Link back to header 2"], "#header2", nil), ", ", md_im_link(["Link back to header 3"], "#header3", nil) ]) ],{},[]) *** Output of to_html ***
Header 1
Header 2
Header 3
Then you can create links to different parts of the same document like this:
Link back to header 1, Link back to header 2, Link back to header 3
*** Output of to_latex *** \hypertarget{header1}{}\section*{{Header 1}}\label{header1}\hypertarget{header2}{}\subsection*{{Header 2}}\label{header2}
\hypertarget{header3}{}\subsubsection*{{Header 3}}\label{header3}
Then you can create links to different parts of the same document like this:
\hyperlink{header1}{Link back to header 1}, \hyperlink{header2}{Link back to header 2}, \hyperlink{header3}{Link back to header 3} *** Output of to_md *** Header 1Header 2Header 3Then you can create links to different parts of the same document like this:
Link back to header 1, Link back to header 2, Link back to header 3 *** Output of to_s *** Header 1Header 2Header 3Then you can create links to different parts of the same document like this:Link back to header 1, Link back to header 2, Link back to header 3 *** EOF ***
OK!
*** Output of Markdown.pl ***
Header 1 {#header1}
Header 2 {#header2}
Header 3 ### {#header3}
Then you can create links to different parts of the same document like this:
Link back to header 1, Link back to header 2, Link back to header 3
*** Output of Markdown.pl (parsed) ***
Header 1 {#header1}
Header 2 {#header2}
Header 3 ### {#header3}
Then you can create links to different parts of the same document like this:
Link back to header 1 , Link back to header 2 , Link back to header 3