2008-01-08 07:01:35 +01:00
Write a comment abouth the test here.
*** Parameters: ** *
{:on_error=>:warning}
*** Markdown input: ** *
Search on [Google][]
Search on [Google] []
Search on [Google] [google]
Search on [Google] [Google]
Search on [Google images][]
Inline: [Google images ](http://google.com )
Inline with title: [Google images ](http://google.com "Title" )
Inline with title: [Google images ]( http://google.com "Title" )
Search on < http: / / www . gogole . com > or < http: / / Here . com > or ask < mailto:bill @ google . com >
or you might ask bill@google.com.
If all else fails, ask [Google ](http://www.google.com )
2009-05-13 08:27:39 +02:00
And now [reference-style link ID with spaces] [Google Images]
2011-08-14 23:54:21 +02:00
And now [reference-style link ID (without spaces)][Google Search]
2008-01-08 07:01:35 +01:00
[google]: http://www.google.com
[google2]: http://www.google.com 'Single quotes'
[google3]: http://www.google.com "Double quotes"
[google4]: http://www.google.com (Parenthesis)
[Google Search]:
2011-08-14 23:54:21 +02:00
http://www.google.com 'Google search'
2008-01-08 07:01:35 +01:00
[Google Images]:
http://images.google.com (Google images)
*** Output of inspect ** *
md_el(:document,[
md_par(["Search on ", md_link(["Google"],"google")]),
md_par(["Search on ", md_link(["Google"],"google")]),
md_par(["Search on ", md_link(["Google"],"google")]),
md_par(["Search on ", md_link(["Google"],"google")]),
md_par(["Search on ", md_link(["Google images"],"google_images")]),
md_par(["Inline: ", md_im_link(["Google images"], "http://google.com", nil)]),
md_par([
"Inline with title: ",
md_im_link(["Google images"], "http://google.com", "Title")
]),
md_par([
"Inline with title: ",
md_im_link(["Google images"], "http://google.com", "Title")
]),
md_par([
"Search on ",
md_url("http://www.gogole.com"),
" or ",
md_url("http://Here.com"),
" or ask ",
md_email("bill@google.com"),
" or you might ask bill@google.com."
]),
md_par([
"If all else fails, ask ",
md_im_link(["Google"], "http://www.google.com", nil)
]),
2009-05-13 08:27:39 +02:00
md_par([
"And now ",
md_link(["reference-style link ID with spaces"],"google_images")
]),
2011-08-14 23:54:21 +02:00
md_par([
"And now ",
md_link(["reference-style link ID (without spaces)"], "google_search")
]),
2008-01-08 07:01:35 +01:00
md_ref_def("google", "http://www.google.com", {:title=>nil}),
md_ref_def("google2", "http://www.google.com", {:title=>"Single quotes"}),
md_ref_def("google3", "http://www.google.com", {:title=>"Double quotes"}),
md_ref_def("google4", "http://www.google.com", {:title=>"Parenthesis"}),
md_ref_def("google_search", "http://www.google.com", {:title=>"Google search"}),
md_ref_def("google_images", "http://images.google.com", {:title=>"Google images"})
],{},[])
*** Output of to_html ** *
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://www.google.com" > Google< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://www.google.com" > Google< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://www.google.com" > Google< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://www.google.com" > Google< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://images.google.com" title = "Google images" > Google images< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Inline: < a href = "http://google.com" > Google images< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Inline with title: < a href = "http://google.com" title = "Title" > Google images< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Inline with title: < a href = "http://google.com" title = "Title" > Google images< / a > < / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > Search on < a href = "http://www.gogole.com" > http://www.gogole.com< / a > or < a href = "http://Here.com" > http://Here.com< / a > or ask < a href = "mailto:bill@google.com" > b i l l @ g o o g l e . c o m < / a > or you might ask bill@google.com.< / p >
2008-01-08 07:01:35 +01:00
2011-08-12 03:36:44 +02:00
< p > If all else fails, ask < a href = "http://www.google.com" > Google< / a > < / p >
2009-05-13 08:27:39 +02:00
2011-08-12 03:36:44 +02:00
< p > And now < a href = "http://images.google.com" title = "Google images" > reference-style link ID with spaces< / a > < / p >
2011-08-14 23:54:21 +02:00
< p > And now < a href = "http://www.google.com" title = "Google search" > reference-style link ID (without spaces)< / a > < / p >
2011-08-13 10:59:40 +02:00
*** Output of to_latex ** *
2008-01-08 07:01:35 +01:00
Search on \href{http://www.google.com}{Google}
Search on \href{http://www.google.com}{Google}
Search on \href{http://www.google.com}{Google}
Search on \href{http://www.google.com}{Google}
Search on \href{http://images.google.com}{Google images}
Inline: \href{http://google.com}{Google images}
Inline with title: \href{http://google.com}{Google images}
Inline with title: \href{http://google.com}{Google images}
Search on \href{http://www.gogole.com}{http\char58\char47\char47www\char46gogole\char46com} or \href{http://Here.com}{http\char58\char47\char47Here\char46com} or ask \href{mailto:bill@google.com}{bill\char64google\char46com} or you might ask bill@google.com.
If all else fails, ask \href{http://www.google.com}{Google}
2009-05-13 08:27:39 +02:00
And now \href{http://images.google.com}{reference-style link ID with spaces}
2011-08-14 23:54:21 +02:00
And now \href{http://www.google.com}{reference-style link ID (without spaces)}
2008-01-08 07:01:35 +01:00
*** Output of to_md ** *
Search on Google
Search on Google
Search on Google
Search on Google
Search on Google images
Inline: Google images
Inline with title: Google images
Inline with title: Google images
Search on or or ask or you might ask
bill@google.com.
If all else fails, ask Google
2009-05-13 08:27:39 +02:00
And now
reference-style link ID with spaces
2011-08-14 23:54:21 +02:00
And now
reference-style link ID (without spaces)
2008-01-08 07:01:35 +01:00
*** Output of to_s ** *
2011-08-14 23:54:21 +02:00
Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google imagesInline: Google imagesInline with title: Google imagesInline with title: Google imagesSearch on or or ask or you might ask bill@google.com.If all else fails, ask GoogleAnd now reference-style link ID with spacesAnd now reference-style link ID (without spaces)