Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/markdown.xml
Show All 34 Lines | |||||
35 | <!ENTITY strongemphasisregex_und_ast "\b_{2,5}(?:(?:\*|\*{3}|\*{5})&contentregex_ast;\*+|(?:\*{2}|\*{4})&contentregex_ast;\*)_{2}"> | 35 | <!ENTITY strongemphasisregex_und_ast "\b_{2,5}(?:(?:\*|\*{3}|\*{5})&contentregex_ast;\*+|(?:\*{2}|\*{4})&contentregex_ast;\*)_{2}"> | ||
36 | <!ENTITY strongemphasisregex_und_ast2 "\b_(?:\*{2,5}&contentregex_ast;\*{2,5}_{0,4}|_{0,4}\*{2,5}&contentregex_ast;\*{2,5})_\b"> | 36 | <!ENTITY strongemphasisregex_und_ast2 "\b_(?:\*{2,5}&contentregex_ast;\*{2,5}_{0,4}|_{0,4}\*{2,5}&contentregex_ast;\*{2,5})_\b"> | ||
37 | <!-- strong text --> | 37 | <!-- strong text --> | ||
38 | <!ENTITY strongregex_ast "\*{2}(?:&contentregex_ast;\*{2}|\*{1,3}&contentregex_ast;\*{2}(?!\*))"> | 38 | <!ENTITY strongregex_ast "\*{2}(?:&contentregex_ast;\*{2}|\*{1,3}&contentregex_ast;\*{2}(?!\*))"> | ||
39 | <!ENTITY strongregex_und "\b_{2}(?:&contentregex_und;_{2}|_{1,3}&contentregex_und;_{2}(?!_))"> | 39 | <!ENTITY strongregex_und "\b_{2}(?:&contentregex_und;_{2}|_{1,3}&contentregex_und;_{2}(?!_))"> | ||
40 | <!-- emphasis text --> | 40 | <!-- emphasis text --> | ||
41 | <!ENTITY emphasisregex_ast "\*(?:&contentregex_ast;\*|\*{1,4}&contentregex_ast;\*(?!\*))"> | 41 | <!ENTITY emphasisregex_ast "\*(?:&contentregex_ast;\*|\*{1,4}&contentregex_ast;\*(?!\*))"> | ||
42 | <!ENTITY emphasisregex_und "\b_(?:&contentregex_und;_+|_{1,4}&contentregex_und;_)\b"> | 42 | <!ENTITY emphasisregex_und "\b_(?:&contentregex_und;_+|_{1,4}&contentregex_und;_)\b"> | ||
43 | <!-- links --> | 43 | <!-- links. | ||
44 | Keep in sync with reStructuredText (rest) --> | ||||
44 | <!ENTITY startlink "(?:https?|ftp)\://"> | 45 | <!ENTITY startlink "(?:https?|ftp)\://"> | ||
45 | <!ENTITY link "&startlink;[^">\s]+"> | 46 | <!ENTITY link "&startlink;[^">\s]+"> | ||
46 | <!-- link in normal text --> | 47 | <!-- link in normal text. | ||
48 | Keep in sync with reStructuredText’s (rest) StandaloneHyperlink attribute --> | ||||
47 | <!ENTITY implicitlink "\b&startlink;[^">\s`\)]*[^\s!"'`\(\)\*,\.:;<>\?~\]\}\\](?=[[:punct:]]*(?:[\s\)]|$))"> | 49 | <!ENTITY implicitlink "\b&startlink;[^">\s`\)]*[^\s!"'`\(\)\*,\.:;<>\?~\]\}\\](?=[[:punct:]]*(?:[\s\)]|$))"> | ||
48 | <!-- references: [name], [name][id], [name][id] "title", [name](https://example.com) --> | 50 | <!-- references: [name], [name][id], [name][id] "title", [name](https://example.com) --> | ||
49 | <!ENTITY refchar "(?:\\.|[^\]\\])"> | 51 | <!ENTITY refchar "(?:\\.|[^\]\\])"> | ||
50 | <!ENTITY refname "(?:\\.|[^\s\[\]\\])&refchar;*"> | 52 | <!ENTITY refname "(?:\\.|[^\s\[\]\\])&refchar;*"> | ||
51 | <!ENTITY reflinkid "\s*(?:&refname;)?"> | 53 | <!ENTITY reflinkid "\s*(?:&refname;)?"> | ||
52 | <!ENTITY reflinkidregex "(?:\s?\[&reflinkid;\]|\((?:\\.|[^\(\)\\])*\))"> | 54 | <!ENTITY reflinkidregex "(?:\s?\[&reflinkid;\]|\((?:\\.|[^\(\)\\])*\))"> | ||
53 | <!ENTITY reflinkregex "\[(?:(?=\s*&refname;\])|\s+(?=\]))"> | 55 | <!ENTITY reflinkregex "\[(?:(?=\s*&refname;\])|\s+(?=\]))"> | ||
54 | <!-- target ref.: [id]: https://example.com "Title" --> | 56 | <!-- target ref.: [id]: https://example.com "Title" --> | ||
▲ Show 20 Lines • Show All 584 Lines • Show Last 20 Lines |