remove unneeded libs
This commit is contained in:
parent
5aaaf08723
commit
59ea1c2f7d
1109 changed files with 0 additions and 58758 deletions
|
@ -1,15 +0,0 @@
|
|||
CSS(Cascading Style Sheet)
|
||||
HTML(HyperText Markup Language)
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["acronym", ["CSS", ["punctuation", "("], ["comment", "Cascading Style Sheet"], ["punctuation", ")"]]],
|
||||
["acronym", ["HTML", ["punctuation", "("], ["comment", "HyperText Markup Language"], ["punctuation", ")"]]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for acronyms.
|
|
@ -1,131 +0,0 @@
|
|||
h1. Header 1
|
||||
|
||||
h2>. Header 2
|
||||
|
||||
bq. A block quotation
|
||||
|
||||
p<. Foo
|
||||
|
||||
p=. Bar
|
||||
|
||||
p<>. Baz
|
||||
|
||||
p(. Foobar
|
||||
baz
|
||||
|
||||
p))). Foo
|
||||
|
||||
h1(foo). Foo
|
||||
|
||||
h2[en]. Bar
|
||||
|
||||
h3{color: red}. Baz
|
||||
|
||||
h4[fr]{text-decoration:underline;}(#bar). Foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["block-tag", [["tag", "h1"], ["punctuation", "."]]],
|
||||
" Header 1"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "h2"],
|
||||
["modifier", [["punctuation", ">"]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Header 2"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [["tag", "bq"], ["punctuation", "."]]],
|
||||
" A block quotation"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "p"],
|
||||
["modifier", [["punctuation", "<"]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Foo"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "p"],
|
||||
["modifier", [["punctuation", "="]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Bar"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "p"],
|
||||
["modifier", [["punctuation", "<"], ["punctuation", ">"]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Baz"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "p"],
|
||||
["modifier", [["punctuation", "("]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Foobar\r\nbaz"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "p"],
|
||||
["modifier", [["punctuation", ")"], ["punctuation", ")"], ["punctuation", ")"]]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Foo"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "h1"],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Foo"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "h2"],
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"]
|
||||
]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Bar"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "h3"],
|
||||
["modifier", [
|
||||
["css", ["{color: red}"]]
|
||||
]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Baz"
|
||||
]],
|
||||
["phrase", [
|
||||
["block-tag", [
|
||||
["tag", "h4"],
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "fr"], ["punctuation", "]"],
|
||||
["css", ["{text-decoration:underline;}"]],
|
||||
["punctuation", "("], ["class-id", "#bar"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."]
|
||||
]],
|
||||
" Foobar"
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for tags at the beginning of a block and alignment modifiers.
|
|
@ -1,15 +0,0 @@
|
|||
Foo[1]
|
||||
Bar[42]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
"Foo", ["footnote", [["punctuation", "["], "1", ["punctuation", "]"]]],
|
||||
"\r\nBar", ["footnote", [["punctuation", "["], "42", ["punctuation", "]"]]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for footnotes.
|
|
@ -1,71 +0,0 @@
|
|||
!foo.png!
|
||||
!bar.jpg(Foo bar)!
|
||||
!foo.png!:http://prismjs.com
|
||||
!bar.jpg(Foo bar)!:http://www.example.com
|
||||
|
||||
!<foo.png! !>bar.jpg!
|
||||
!(foo)[en]{border:1px solid #ccc}foo.png!
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["source", "foo.png"],
|
||||
["punctuation", "!"]
|
||||
]],
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["source", "bar.jpg(Foo bar)"],
|
||||
["punctuation", "!"]
|
||||
]],
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["source", "foo.png"],
|
||||
["punctuation", "!"],
|
||||
["punctuation", ":"],
|
||||
["url", "http://prismjs.com"]
|
||||
]],
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["source", "bar.jpg(Foo bar)"],
|
||||
["punctuation", "!"],
|
||||
["punctuation", ":"],
|
||||
["url", "http://www.example.com"]
|
||||
]]
|
||||
]],
|
||||
|
||||
["phrase", [
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["modifier", [
|
||||
["punctuation", "<"]
|
||||
]],
|
||||
["source", "foo.png"],
|
||||
["punctuation", "!"]
|
||||
]],
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["modifier", [
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["source", "bar.jpg"],
|
||||
["punctuation", "!"]
|
||||
]],
|
||||
["image", [
|
||||
["punctuation", "!"],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"],
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"],
|
||||
["css", ["{border:1px solid #ccc}"]]
|
||||
]],
|
||||
["source", "foo.png"],
|
||||
["punctuation", "!"]
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for images.
|
|
@ -1,166 +0,0 @@
|
|||
*bold*
|
||||
**bold**
|
||||
_italic_
|
||||
__italic__
|
||||
??cite??
|
||||
@code@
|
||||
+inserted+
|
||||
-deleted-
|
||||
%span%
|
||||
^superscript^
|
||||
~subscript~
|
||||
|
||||
*{color:red}bold*
|
||||
__(foo#bar)[fr]italique__
|
||||
%{text-decoration:underline}span *[en]bold*%
|
||||
|
||||
*_a_ __b__ ??c?? @d@ +e+ -f- %g% ^h^ ~i~*
|
||||
**_a_ __b__ ??c?? @d@ +e+ -f- %g% ^h^ ~i~**
|
||||
_*a* **b** ??c?? @d@ +e+ -f- %g% ^h^ ~i~_
|
||||
__*a* **b** ??c?? @d@ +e+ -f- %g% ^h^ ~i~__
|
||||
+*a* **b** _c_ __d__ ??e?? @f@ -g- %h% ^i^ ~j~+
|
||||
-*a* **b** _c_ __d__ ??e?? @f@ +g+ %h% ^i^ ~j~-
|
||||
%*a* **b** _c_ __d__ ??e?? @f@ +g+ -h- ^i^ ~j~%
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["inline", [["punctuation", "*"], ["bold", ["bold"]], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", ["bold"]], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "_"], ["italic", ["italic"]], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", ["italic"]], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "cite"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "code"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", ["inserted"]], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", ["deleted"]], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", ["span"]], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "superscript", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "subscript", ["punctuation", "~"]]]
|
||||
]],
|
||||
|
||||
["phrase", [
|
||||
["inline", [
|
||||
["punctuation", "*"],
|
||||
["modifier", [
|
||||
["css", ["{color:red}"]]
|
||||
]],
|
||||
["bold", ["bold"]],
|
||||
["punctuation", "*"]
|
||||
]],
|
||||
["inline", [
|
||||
["punctuation", "__"],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo#bar"], ["punctuation", ")"],
|
||||
["punctuation", "["], ["lang", "fr"], ["punctuation", "]"]
|
||||
]],
|
||||
["italic", ["italique"]],
|
||||
["punctuation", "__"]
|
||||
]],
|
||||
["inline", [
|
||||
["punctuation", "%"],
|
||||
["modifier", [
|
||||
["css", ["{text-decoration:underline}"]]
|
||||
]],
|
||||
["span", [
|
||||
"span ",
|
||||
["inline", [
|
||||
["punctuation", "*"],
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"]
|
||||
]],
|
||||
["bold", "bold"],
|
||||
["punctuation", "*"]
|
||||
]]
|
||||
]],
|
||||
["punctuation", "%"]
|
||||
]]
|
||||
]],
|
||||
|
||||
["phrase", [
|
||||
["inline", [["punctuation", "*"], ["bold", [
|
||||
["inline", [["punctuation", "_"], ["italic", "a"], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", "b"], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", [
|
||||
["inline", [["punctuation", "_"], ["italic", "a"], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", "b"], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "_"], ["italic", [
|
||||
["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", [
|
||||
["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "c"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "d"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "e"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "f"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "g"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "h", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "i", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", [
|
||||
["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "g"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "h"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", [
|
||||
["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "g"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "%"], ["span", "h"], ["punctuation", "%"]]],
|
||||
["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "%"], ["span", [
|
||||
["inline", [["punctuation", "*"], ["bold", "a"], ["punctuation", "*"]]],
|
||||
["inline", [["punctuation", "**"], ["bold", "b"], ["punctuation", "**"]]],
|
||||
["inline", [["punctuation", "_"], ["italic", "c"], ["punctuation", "_"]]],
|
||||
["inline", [["punctuation", "__"], ["italic", "d"], ["punctuation", "__"]]],
|
||||
["inline", [["punctuation", "??"], ["cite", "e"], ["punctuation", "??"]]],
|
||||
["inline", [["punctuation", "@"], ["code", "f"], ["punctuation", "@"]]],
|
||||
["inline", [["punctuation", "+"], ["inserted", "g"], ["punctuation", "+"]]],
|
||||
["inline", [["punctuation", "-"], ["deleted", "h"], ["punctuation", "-"]]],
|
||||
["inline", [["punctuation", "^"], "i", ["punctuation", "^"]]],
|
||||
["inline", [["punctuation", "~"], "j", ["punctuation", "~"]]]
|
||||
]], ["punctuation", "%"]]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for inline styles and nesting.
|
|
@ -1,25 +0,0 @@
|
|||
[foo]http://prismjs.com
|
||||
[bar]http://www.example.com
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["link-ref", [
|
||||
["punctuation", "["],
|
||||
["string", "foo"],
|
||||
["punctuation", "]"],
|
||||
["url", "http://prismjs.com"]
|
||||
]],
|
||||
["link-ref", [
|
||||
["punctuation", "["],
|
||||
["string", "bar"],
|
||||
["punctuation", "]"],
|
||||
["url", "http://www.example.com"]
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for links references.
|
|
@ -1,44 +0,0 @@
|
|||
"Foo bar":http://prismjs.com
|
||||
"Baz":foo
|
||||
"Foobar":link-ref
|
||||
"(foo)[en]{color:blue;}Foo":bar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["link", [
|
||||
["punctuation", "\""],
|
||||
["text", "Foo bar"],
|
||||
["punctuation", "\""], ["punctuation", ":"],
|
||||
["url", "http://prismjs.com"]
|
||||
]],
|
||||
["link", [
|
||||
["punctuation", "\""],
|
||||
["text", "Baz"],
|
||||
["punctuation", "\""], ["punctuation", ":"],
|
||||
["url", "foo"]
|
||||
]],
|
||||
["link", [
|
||||
["punctuation", "\""],
|
||||
["text", "Foobar"],
|
||||
["punctuation", "\""], ["punctuation", ":"],
|
||||
["url", "link-ref"]
|
||||
]],
|
||||
["link", [
|
||||
["punctuation", "\""],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"],
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"],
|
||||
["css", ["{color:blue;}"]]
|
||||
]],
|
||||
["text", "Foo"],
|
||||
["punctuation", "\""], ["punctuation", ":"],
|
||||
["url", "bar"]
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for links.
|
|
@ -1,36 +0,0 @@
|
|||
# foo
|
||||
# bar
|
||||
## baz
|
||||
#[fr](#foo){background:pink} Foobar
|
||||
|
||||
* foo
|
||||
** bar
|
||||
*** baz
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["list", [["punctuation", "#"], " foo"]],
|
||||
["list", [["punctuation", "#"], " bar"]],
|
||||
["list", [["punctuation", "##"], " baz"]],
|
||||
["list", [
|
||||
["punctuation", "#"],
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "fr"], ["punctuation", "]"],
|
||||
["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"],
|
||||
["css", ["{background:pink}"]]
|
||||
]],
|
||||
" Foobar"
|
||||
]]
|
||||
]],
|
||||
["phrase", [
|
||||
["list", [["punctuation", "*"], " foo"]],
|
||||
["list", [["punctuation", "**"], " bar"]],
|
||||
["list", [["punctuation", "***"], " baz"]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for list items.
|
|
@ -1,17 +0,0 @@
|
|||
Prism(C)
|
||||
Foo(TM)
|
||||
Foobar(R)
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
"Prism", ["mark", [["punctuation", "("], "C", ["punctuation", ")"]]],
|
||||
"\r\nFoo", ["mark", [["punctuation", "("], "TM", ["punctuation", ")"]]],
|
||||
"\r\nFoobar", ["mark", [["punctuation", "("], "R", ["punctuation", ")"]]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for marks symbols.
|
|
@ -1,177 +0,0 @@
|
|||
|_. foo |<_. bar |>_. baz |
|
||||
|<>. foo |(((. bar |)). baz |
|
||||
|~. foo |^. bar |=. baz |
|
||||
|/2. bar |\2. foo
|
||||
bar
|
||||
baz |
|
||||
|\2~>. foobarbaz |
|
||||
|
||||
(foo).|(bar).Baz|
|
||||
(#foo).|(#bar).Baz|
|
||||
[fr].|[en].Baz|
|
||||
{color: blue}.|{font-weight:bold}.Baz|
|
||||
(foo#bar){font-style:italic}[fr].|{background:red;}(bar#baz)[en].Baz|
|
||||
|
||||
|*bold*|**bold**|_italic_|__italic__|
|
||||
|??cite??|@code@|+inserted+|-deleted-|
|
||||
|%span%|"foo":http://example.com|!foo.jpg!|bar[2]|
|
||||
|\2.CSS(Cascading Style Sheet)|\2.Foo(TM)|
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["phrase", [
|
||||
["table", [
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "_"]]],
|
||||
["punctuation", "."],
|
||||
" foo ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "<"], ["punctuation", "_"]]],
|
||||
["punctuation", "."],
|
||||
" bar ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", ">"], ["punctuation", "_"]]],
|
||||
["punctuation", "."],
|
||||
" baz ", ["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "<"], ["punctuation", ">"]]],
|
||||
["punctuation", "."],
|
||||
" foo ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "("], ["punctuation", "("], ["punctuation", "("]]],
|
||||
["punctuation", "."],
|
||||
" bar ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", ")"], ["punctuation", ")"]]],
|
||||
["punctuation", "."],
|
||||
" baz ", ["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "~"]]],
|
||||
["punctuation", "."],
|
||||
" foo ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "^"]]],
|
||||
["punctuation", "."],
|
||||
" bar ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "="]]],
|
||||
["punctuation", "."],
|
||||
" baz ", ["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "/2"]]],
|
||||
["punctuation", "."],
|
||||
" bar ",
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "\\2"]]],
|
||||
["punctuation", "."],
|
||||
" foo\r\nbar\r\nbaz ", ["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["modifier", [["punctuation", "\\2"], ["punctuation", "~"], ["punctuation", ">"]]],
|
||||
["punctuation", "."],
|
||||
" foobarbaz ", ["punctuation", "|"]
|
||||
]]
|
||||
]],
|
||||
|
||||
["phrase", [
|
||||
["table", [
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."], ["punctuation", "|"],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "bar"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."], "Baz", ["punctuation", "|"],
|
||||
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."], ["punctuation", "|"],
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "#bar"], ["punctuation", ")"]
|
||||
]],
|
||||
["punctuation", "."], "Baz", ["punctuation", "|"],
|
||||
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "fr"], ["punctuation", "]"]
|
||||
]],
|
||||
["punctuation", "."], ["punctuation", "|"],
|
||||
["modifier", [
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"]
|
||||
]],
|
||||
["punctuation", "."], "Baz", ["punctuation", "|"],
|
||||
|
||||
["modifier", [
|
||||
["css", ["{color: blue}"]]
|
||||
]],
|
||||
["punctuation", "."], ["punctuation", "|"],
|
||||
["modifier", [
|
||||
["css", ["{font-weight:bold}"]]
|
||||
]],
|
||||
["punctuation", "."], "Baz", ["punctuation", "|"],
|
||||
|
||||
["modifier", [
|
||||
["punctuation", "("], ["class-id", "foo#bar"], ["punctuation", ")"],
|
||||
["css", ["{font-style:italic}"]],
|
||||
["punctuation", "["], ["lang", "fr"], ["punctuation", "]"]
|
||||
]],
|
||||
["punctuation", "."], ["punctuation", "|"],
|
||||
["modifier", [
|
||||
["css", ["{background:red;}"]],
|
||||
["punctuation", "("], ["class-id", "bar#baz"], ["punctuation", ")"],
|
||||
["punctuation", "["], ["lang", "en"], ["punctuation", "]"]
|
||||
]],
|
||||
["punctuation", "."], "Baz", ["punctuation", "|"]
|
||||
]]
|
||||
]],
|
||||
|
||||
["phrase", [
|
||||
["table", [
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "*"], ["bold", "bold"], ["punctuation", "*"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "**"], ["bold", "bold"], ["punctuation", "**"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "_"], ["italic", "italic"], ["punctuation", "_"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "__"], ["italic", "italic"], ["punctuation", "__"]]],
|
||||
["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "??"], ["cite", "cite"], ["punctuation", "??"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "@"], ["code", "code"], ["punctuation", "@"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "+"], ["inserted", "inserted"], ["punctuation", "+"]]],
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "-"], ["deleted", "deleted"], ["punctuation", "-"]]],
|
||||
["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"],
|
||||
["inline", [["punctuation", "%"], ["span", "span"], ["punctuation", "%"]]],
|
||||
["punctuation", "|"],
|
||||
["link", [["punctuation", "\""], ["text", "foo"], ["punctuation", "\""], ["punctuation", ":"], ["url", "http://example.com"]]],
|
||||
["punctuation", "|"],
|
||||
["image", [["punctuation", "!"], ["source", "foo.jpg"], ["punctuation", "!"]]],
|
||||
["punctuation", "|"],
|
||||
"bar", ["footnote", [["punctuation", "["], "2", ["punctuation", "]"]]],
|
||||
["punctuation", "|"],
|
||||
|
||||
["punctuation", "|"], ["modifier", [["punctuation", "\\2"]]], ["punctuation", "."],
|
||||
["acronym", ["CSS", ["punctuation", "("], ["comment", "Cascading Style Sheet"], ["punctuation", ")"]]],
|
||||
["punctuation", "|"], ["modifier", [["punctuation", "\\2"]]], ["punctuation", "."],
|
||||
"Foo", ["mark", [["punctuation", "("], "TM", ["punctuation", ")"]]],
|
||||
["punctuation", "|"]
|
||||
]]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for tables with alignment modifiers and spanning.
|
||||
Also checks for nesting inline styles.
|
Loading…
Add table
Add a link
Reference in a new issue