jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/markdown/bold_feature.test

70 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
**foobar**
**foo
bar**
__foobar__
__foo
bar__
__foo*bar*baz__
__foo_bar_baz__
__foo[bar](baz)__
----------------------------------------------------
[
["bold", [
["punctuation", "**"],
"foobar",
["punctuation", "**"]
]],
["bold", [
["punctuation", "**"],
"foo\r\nbar",
["punctuation", "**"]
]],
["bold", [
["punctuation", "__"],
"foobar",
["punctuation", "__"]
]],
["bold", [
["punctuation", "__"],
"foo\r\nbar",
["punctuation", "__"]
]],
["bold", [
["punctuation", "__"],
"foo",
["italic", [
["punctuation", "*"],
"bar",
["punctuation", "*"]
]],
"baz",
["punctuation", "__"]
]],
["bold", [
["punctuation", "__"],
"foo",
["italic", [
["punctuation", "_"],
"bar",
["punctuation", "_"]
]],
"baz",
["punctuation", "__"]
]],
["bold", [
["punctuation", "__"],
"foo",
["url", [
"[bar](baz)"
]],
["punctuation", "__"]
]]
]
----------------------------------------------------
Checks for bold. Also tests for inclusion of italic and url.