jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/markdown/italic_feature.test
2016-02-02 21:12:02 -05:00

46 lines
649 B
Plaintext

*foobar*
*foo
bar*
_foobar_
_foo
bar_
_foo[bar](baz)_
----------------------------------------------------
[
["italic", [
["punctuation", "*"],
"foobar",
["punctuation", "*"]
]],
["italic", [
["punctuation", "*"],
"foo\r\nbar",
["punctuation", "*"]
]],
["italic", [
["punctuation", "_"],
"foobar",
["punctuation", "_"]
]],
["italic", [
["punctuation", "_"],
"foo\r\nbar",
["punctuation", "_"]
]],
["italic", [
["punctuation", "_"],
"foo",
["url", [
"[bar](baz)"
]],
["punctuation", "_"]
]]
]
----------------------------------------------------
Checks for italic. Also tests for inclusion of url.