bold
italic
code
verbatim
underline
strikethrough
http://www.gmail.com

bold italic code verbatim underline strikethrough http://www.bing.com http://www.google.com http://www.gmail.com helpful text link
http://www.google.com
emphasis_tests = [
"*bold*",
"/italic/",
"=code=",
"~verbatim~",
"_underline_ ",
"+strikethrough+",
"[[http://www.bing.com]]",
"[[http://www.google.com]]",
"[[http://www.xkcd.com][helpful text link]]",
"[[http://farm7.static.flickr.com/6078/6084185195_552aa270b2.jpg]]",
"[[http://www.xkcd.com][http://imgs.xkcd.com/comics/t_cells.png]]",
"<http://www.google.com>",
]
all = emphasis_tests.map do |a|
emphasis_tests.map do |b|
[b, ' ', a, ' ', b, "\n\n"].join('')
end
end
all.each {|e| puts e}
emphasis_tests = ["*","/","=","~","_","+"]
all = emphasis_tests.map do |a|
emphasis_tests.map do |b|
[[a, 'Answer: ', b, '42', b, ' ',a, "\n\n"].join(''),
[a, 'Answer: ', b, '42', b, '',a, "\n\n"].join('')].flatten
end
end
all.each {|e| puts e}
Answer: *42 *
Answer: *42*
*Answer: 42 *
Answer: /42/
*Answer: 42 *
Answer: =42=
*Answer: 42 *
Answer: ~42~
*Answer: 42 *
Answer: _42_
*Answer: 42 *
Answer: +42+
/Answer: 42 /
Answer: *42*
Answer: /42 /
Answer: /42/
/Answer: 42 /
Answer: =42=
/Answer: 42 /
Answer: ~42~
/Answer: 42 /
Answer: _42_
/Answer: 42 /
Answer: +42+
=Answer: 42 =
Answer: *42*
=Answer: 42 =
Answer: /42/
Answer: =42 =
Answer: =42=
=Answer: 42 =
Answer: ~42~
=Answer: 42 =
Answer: _42_
=Answer: 42 =
Answer: +42+
~Answer: 42 ~
Answer: *42*
~Answer: 42 ~
Answer: /42/
~Answer: 42 ~
Answer: =42=
Answer: ~42 ~
Answer: ~42~
~Answer: 42 ~
Answer: _42_
~Answer: 42 ~
Answer: +42+
_Answer: 42 _
Answer: *42*
_Answer: 42 _
Answer: /42/
_Answer: 42 _
Answer: =42=
_Answer: 42 _
Answer: ~42~
Answer: _42 _
Answer: _42_
_Answer: 42 _
Answer: +42+
+Answer: 42 +
Answer: *42*
+Answer: 42 +
Answer: /42/
+Answer: 42 +
Answer: =42=
+Answer: 42 +
Answer: ~42~
+Answer: 42 +
Answer: _42_
Answer: +42 +
Answer: +42+
emphasis_tests = ["*","/","=","~","_","+"]
all = emphasis_tests.map do |a|
emphasis_tests.map do |b|
[a, 'Starting the line here ', "\n", b, 'and continuing here to close', b, a, "\n\n"].join('')
end
end
all.each {|e| puts e}
Starting the line here *and continuing here to close*
Starting the line here /and continuing here to close/
Starting the line here =and continuing here to close=
Starting the line here ~and continuing here to close~
Starting the line here _and continuing here to close_
Starting the line here +and continuing here to close+
Starting the line here *and continuing here to close*
Starting the line here /and continuing here to close/
Starting the line here =and continuing here to close=
Starting the line here ~and continuing here to close~
Starting the line here _and continuing here to close_
Starting the line here +and continuing here to close+
Starting the line here
*and continuing here to close*
Starting the line here
/and continuing here to close/
Starting the line here
=and continuing here to close=
Starting the line here
~and continuing here to close~
Starting the line here
_and continuing here to close_
Starting the line here
+and continuing here to close+
Starting the line here
*and continuing here to close*
Starting the line here
/and continuing here to close/
Starting the line here
=and continuing here to close=
Starting the line here
~and continuing here to close~
Starting the line here
_and continuing here to close_
Starting the line here
+and continuing here to close+
Starting the line here *and continuing here to close*
Starting the line here /and continuing here to close/
Starting the line here =and continuing here to close=
Starting the line here ~and continuing here to close~
Starting the line here _and continuing here to close_
Starting the line here +and continuing here to close+
Starting the line here
*and continuing here to close*
Starting the line here
/and continuing here to close/
Starting the line here
=and continuing here to close=
Starting the line here
~and continuing here to close~
Starting the line here
_and continuing here to close_
Starting the line here
+and continuing here to close+
emphasis_tests = ["*","/","=","~","_","+"]
all = emphasis_tests.map do |a|
emphasis_tests.map do |b|
[a, 'Starting the line here ', "\n", b, 'and continuing here', "\n", 'to close', b, a, "\n\n"].join('')
end
end
all.each {|e| puts e}
*Starting the line here and continuing here to close*
*Starting the line here /and continuing here to close/*
*Starting the line here =and continuing here to close=*
*Starting the line here ~and continuing here to close~*
*Starting the line here _and continuing here to close_*
*Starting the line here +and continuing here to close+*
/Starting the line here *and continuing here to close*/
/Starting the line here and continuing here to close/
/Starting the line here =and continuing here to close=/
/Starting the line here ~and continuing here to close~/
/Starting the line here _and continuing here to close_/
/Starting the line here +and continuing here to close+/
=Starting the line here *and continuing here to close*=
=Starting the line here /and continuing here to close/=
=Starting the line here
and continuing here
to close=
=Starting the line here ~and continuing here to close~=
=Starting the line here _and continuing here to close_=
=Starting the line here +and continuing here to close+=
~Starting the line here *and continuing here to close*~
~Starting the line here /and continuing here to close/~
~Starting the line here =and continuing here to close=~
~Starting the line here
and continuing here
to close~
~Starting the line here _and continuing here to close_~
~Starting the line here +and continuing here to close+~
_Starting the line here *and continuing here to close*_
_Starting the line here /and continuing here to close/_
_Starting the line here =and continuing here to close=_
_Starting the line here ~and continuing here to close~_
_Starting the line here and continuing here to close_
_Starting the line here +and continuing here to close+_
+Starting the line here *and continuing here to close*+
+Starting the line here /and continuing here to close/+
+Starting the line here =and continuing here to close=+
+Starting the line here ~and continuing here to close~+
+Starting the line here _and continuing here to close_+
+Starting the line here
and continuing here
to close+
bold bold bold
italic bold italic
code bold code
verbatim bold verbatim
underline bold underline
strikethrough bold strikethrough
http://www.bing.com bold http://www.bing.com
http://www.google.com bold http://www.google.com
helpful text link bold helpful text link
bold 
http://www.google.com bold http://www.google.com
bold italic bold
italic italic italic
code italic code
verbatim italic verbatim
underline italic underline
strikethrough italic strikethrough
http://www.bing.com italic http://www.bing.com
http://www.google.com italic http://www.google.com
helpful text link italic helpful text link
italic 
http://www.google.com italic http://www.google.com
bold code bold
italic code italic
code code code
verbatim code verbatim
underline code underline
strikethrough code strikethrough
http://www.bing.com code http://www.bing.com
http://www.google.com code http://www.google.com
helpful text link code helpful text link
code 
http://www.google.com code http://www.google.com
bold verbatim bold
italic verbatim italic
code verbatim code
verbatim verbatim verbatim
underline verbatim underline
strikethrough verbatim strikethrough
http://www.bing.com verbatim http://www.bing.com
http://www.google.com verbatim http://www.google.com
helpful text link verbatim helpful text link
verbatim 
http://www.google.com verbatim http://www.google.com
bold underline bold
italic underline italic
code underline code
verbatim underline verbatim
underline underline underline
strikethrough underline strikethrough
http://www.bing.com underline http://www.bing.com
http://www.google.com underline http://www.google.com
helpful text link underline helpful text link
underline 
http://www.google.com underline http://www.google.com
bold strikethrough bold
italic strikethrough italic
code strikethrough code
verbatim strikethrough verbatim
underline strikethrough underline
strikethrough strikethrough strikethrough
http://www.bing.com strikethrough http://www.bing.com
http://www.google.com strikethrough http://www.google.com
helpful text link strikethrough helpful text link
strikethrough 
http://www.google.com strikethrough http://www.google.com
bold http://www.bing.com bold
italic http://www.bing.com italic
code http://www.bing.com code
verbatim http://www.bing.com verbatim
underline http://www.bing.com underline
strikethrough http://www.bing.com strikethrough
http://www.bing.com http://www.bing.com http://www.bing.com
http://www.google.com http://www.bing.com http://www.google.com
helpful text link http://www.bing.com helpful text link
http://www.google.com http://www.bing.com http://www.google.com
bold http://www.google.com bold
italic http://www.google.com italic
code http://www.google.com code
verbatim http://www.google.com verbatim
underline http://www.google.com underline
strikethrough http://www.google.com strikethrough
http://www.bing.com http://www.google.com http://www.bing.com
http://www.google.com http://www.google.com http://www.google.com
helpful text link http://www.google.com helpful text link
http://www.google.com http://www.google.com http://www.google.com
bold helpful text link bold
italic helpful text link italic
code helpful text link code
verbatim helpful text link verbatim
underline helpful text link underline
strikethrough helpful text link strikethrough
http://www.bing.com helpful text link http://www.bing.com
http://www.google.com helpful text link http://www.google.com
helpful text link helpful text link helpful text link
http://www.google.com helpful text link http://www.google.com
bold
bold
italic
italic
code
code
verbatim
verbatim
underline
underline
strikethrough
strikethrough
http://www.bing.com
http://www.bing.com
http://www.google.com
http://www.google.com
helpful text link
helpful text link

http://www.google.com
http://www.google.com
http://www.bing.com
http://www.bing.com
http://www.google.com
http://www.google.com
helpful text link
helpful text link
http://www.google.com
http://www.google.com
bold http://www.google.com bold
italic http://www.google.com italic
code http://www.google.com code
verbatim http://www.google.com verbatim
underline http://www.google.com underline
strikethrough http://www.google.com strikethrough
http://www.bing.com http://www.google.com http://www.bing.com
http://www.google.com http://www.google.com http://www.google.com
helpful text link http://www.google.com helpful text link
http://www.google.com http://www.google.com http://www.google.com