instiki/vendor/plugins/maruku/spec/block_docs/escaping.md
Jacques Distler f463a3b1c8 Fix Maruku Indented Codeblocks
I'd screwed that up.
Also, fix some bugs in the #to_md
output method. Still not correct
(and I'm not sure I'm going to
bother completing the job), but
better.
2011-08-21 02:43:43 -05:00

2.1 KiB

This should threat the last as a literal asterisk. *** Parameters: *** {:on_error=>:warning} *** Markdown input: *** Hello: ! ! ` { } [ ] # . ! * * *

Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!

This is Code with a special: -> ` <- (after)

Start of paragraph

End of paragraph *** Output of inspect *** md_el(:document,[ md_par(["Hello: ! ! { } [ ] ( ) # . ! * * *"]), md_par([ "Ora, ", md_em(["emphasis"]), ", ", md_strong(["bold"]), ", * <- due asterischi-> * , un underscore-> _ , ", md_em(["emphasis"]), ", incre", md_em(["dible"]), "e!" ]), md_par(["This is ", md_code("Code with a special: -> <-"), "(after)"]), md_par([md_code("Start "), " of paragraph"]), md_par(["End of ", md_code("paragraph ")]) ],{},[]) *** Output of to_html ***

Hello: ! ! ` { } [ ] ( ) # . ! * * *

Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!

This is Code with a special: -> ` <-(after)

Start of paragraph

End of paragraph

*** Output of to_latex *** Hello: ! ! ` \{ \} [ ] ( ) \# . ! * * *

Ora, \emph{emphasis}, \textbf{bold}, * {\tt \char60}- due asterischi-{\tt \char62} * , un underscore-{\tt \char62} _ , \emph{emphasis}, incre\emph{dible}e!

This is {\colorbox[rgb]{1.00,0.93,1.00}{\tt Code~with~a~special\char58~\char45\char62~\char96~\char60\char45}}(after)

{\colorbox[rgb]{1.00,0.93,1.00}{\tt Start~}} of paragraph

End of {\colorbox[rgb]{1.00,0.93,1.00}{\tt paragraph~}} *** Output of to_md *** Hello: ! ! ` { } [ ] # . ! * * *

Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!

This is Code with a special: -> ` <- (after)

Start of paragraph

End of paragraph *** Output of to_s *** Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> * , un underscore-> _ , emphasis, incrediblee!This is (after) of paragraphEnd of