wikiparser-node 0.10.0 → 0.11.0-b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +44 -32
  2. package/bundle/bundle.min.js +38 -0
  3. package/config/.schema.json +1 -19
  4. package/config/default.json +1 -2
  5. package/config/llwiki.json +1 -36
  6. package/config/minimum.json +135 -0
  7. package/config/moegirl.json +1 -45
  8. package/config/zhwiki.json +1 -467
  9. package/extensions/base.js +154 -0
  10. package/extensions/editor.css +63 -0
  11. package/extensions/editor.js +183 -0
  12. package/extensions/highlight.js +40 -0
  13. package/extensions/ui.css +119 -0
  14. package/i18n/zh-hans.json +1 -1
  15. package/i18n/zh-hant.json +1 -1
  16. package/package.json +16 -11
  17. package/index.js +0 -333
  18. package/lib/element.js +0 -611
  19. package/lib/node.js +0 -770
  20. package/lib/ranges.js +0 -130
  21. package/lib/text.js +0 -263
  22. package/lib/title.js +0 -83
  23. package/mixin/attributeParent.js +0 -117
  24. package/mixin/fixedToken.js +0 -40
  25. package/mixin/hidden.js +0 -21
  26. package/mixin/singleLine.js +0 -31
  27. package/mixin/sol.js +0 -54
  28. package/parser/brackets.js +0 -126
  29. package/parser/commentAndExt.js +0 -59
  30. package/parser/converter.js +0 -46
  31. package/parser/externalLinks.js +0 -33
  32. package/parser/hrAndDoubleUnderscore.js +0 -49
  33. package/parser/html.js +0 -42
  34. package/parser/links.js +0 -94
  35. package/parser/list.js +0 -59
  36. package/parser/magicLinks.js +0 -41
  37. package/parser/quotes.js +0 -64
  38. package/parser/selector.js +0 -177
  39. package/parser/table.js +0 -114
  40. package/src/arg.js +0 -207
  41. package/src/atom/hidden.js +0 -13
  42. package/src/atom/index.js +0 -43
  43. package/src/attribute.js +0 -470
  44. package/src/attributes.js +0 -453
  45. package/src/charinsert.js +0 -97
  46. package/src/converter.js +0 -176
  47. package/src/converterFlags.js +0 -284
  48. package/src/converterRule.js +0 -256
  49. package/src/extLink.js +0 -180
  50. package/src/gallery.js +0 -149
  51. package/src/hasNowiki/index.js +0 -44
  52. package/src/hasNowiki/pre.js +0 -40
  53. package/src/heading.js +0 -134
  54. package/src/html.js +0 -254
  55. package/src/imageParameter.js +0 -303
  56. package/src/imagemap.js +0 -199
  57. package/src/imagemapLink.js +0 -41
  58. package/src/index.js +0 -932
  59. package/src/link/category.js +0 -44
  60. package/src/link/file.js +0 -287
  61. package/src/link/galleryImage.js +0 -120
  62. package/src/link/index.js +0 -388
  63. package/src/magicLink.js +0 -149
  64. package/src/nested/choose.js +0 -24
  65. package/src/nested/combobox.js +0 -23
  66. package/src/nested/index.js +0 -93
  67. package/src/nested/references.js +0 -23
  68. package/src/nowiki/comment.js +0 -71
  69. package/src/nowiki/dd.js +0 -59
  70. package/src/nowiki/doubleUnderscore.js +0 -56
  71. package/src/nowiki/hr.js +0 -41
  72. package/src/nowiki/index.js +0 -56
  73. package/src/nowiki/list.js +0 -16
  74. package/src/nowiki/noinclude.js +0 -28
  75. package/src/nowiki/quote.js +0 -69
  76. package/src/onlyinclude.js +0 -64
  77. package/src/paramTag/index.js +0 -89
  78. package/src/paramTag/inputbox.js +0 -35
  79. package/src/parameter.js +0 -239
  80. package/src/syntax.js +0 -91
  81. package/src/table/index.js +0 -983
  82. package/src/table/td.js +0 -338
  83. package/src/table/tr.js +0 -319
  84. package/src/tagPair/ext.js +0 -145
  85. package/src/tagPair/include.js +0 -50
  86. package/src/tagPair/index.js +0 -126
  87. package/src/transclude.js +0 -843
  88. package/tool/index.js +0 -1202
  89. package/util/base.js +0 -17
  90. package/util/debug.js +0 -73
  91. package/util/diff.js +0 -76
  92. package/util/lint.js +0 -55
  93. package/util/string.js +0 -126
@@ -708,472 +708,6 @@
708
708
  ]
709
709
  ],
710
710
  "protocol": "bitcoin:|ftp://|ftps://|geo:|git://|gopher://|http://|https://|irc://|ircs://|magnet:|mailto:|mms://|news:|nntp://|redis://|sftp://|sip:|sips:|sms:|ssh://|svn://|tel:|telnet://|urn:|worldwind://|xmpp:",
711
- "interwiki": [
712
- "acronym",
713
- "advisory",
714
- "advogato",
715
- "aew",
716
- "appropedia",
717
- "aquariumwiki",
718
- "arborwiki",
719
- "arxiv",
720
- "baden",
721
- "battlestarwiki",
722
- "bcnbio",
723
- "beacha",
724
- "betawiki",
725
- "bibcode",
726
- "bibliowiki",
727
- "bluwiki",
728
- "botwiki",
729
- "boxrec",
730
- "bugzilla",
731
- "bulba",
732
- "c",
733
- "c2",
734
- "c2find",
735
- "cache",
736
- "ĉej",
737
- "centralwikia",
738
- "chej",
739
- "choralwiki",
740
- "citizendium",
741
- "comixpedia",
742
- "commons",
743
- "communityscheme",
744
- "communitywiki",
745
- "comune",
746
- "creativecommons",
747
- "creativecommonswiki",
748
- "cxej",
749
- "dcc",
750
- "dcdatabase",
751
- "dcma",
752
- "debian",
753
- "delicious",
754
- "devmo",
755
- "dico",
756
- "dicoado",
757
- "dictionary",
758
- "dict",
759
- "disinfopedia",
760
- "distributedproofreaders",
761
- "distributedproofreadersca",
762
- "dmoz",
763
- "dmozs",
764
- "doi",
765
- "donate",
766
- "doom_wiki",
767
- "download",
768
- "dbdump",
769
- "dpd",
770
- "dpla",
771
- "drae",
772
- "dreamhost",
773
- "drumcorpswiki",
774
- "dwjwiki",
775
- "ecoreality",
776
- "elibre",
777
- "emacswiki",
778
- "encyc",
779
- "energiewiki",
780
- "englyphwiki",
781
- "enkol",
782
- "eokulturcentro",
783
- "esolang",
784
- "etherpad",
785
- "ethnologue",
786
- "ethnologuefamily",
787
- "evowiki",
788
- "exotica",
789
- "fanimutationwiki",
790
- "fedora",
791
- "finalfantasy",
792
- "finnix",
793
- "flickruser",
794
- "flickrphoto",
795
- "floralwiki",
796
- "foldoc",
797
- "foundation",
798
- "foundationsite",
799
- "foxwiki",
800
- "freebio",
801
- "freebsdman",
802
- "freeculturewiki",
803
- "freedomdefined",
804
- "freefeel",
805
- "freekiwiki",
806
- "freenode",
807
- "freesoft",
808
- "ganfyd",
809
- "gardenology",
810
- "gausswiki",
811
- "gentoo",
812
- "genwiki",
813
- "gerrit",
814
- "git",
815
- "gitlab",
816
- "globalcontribs",
817
- "glottolog",
818
- "glottopedia",
819
- "google",
820
- "googledefine",
821
- "googlegroups",
822
- "guildwarswiki",
823
- "guildwiki",
824
- "gucprefix",
825
- "gutenberg",
826
- "gutenbergwiki",
827
- "hackerspaces",
828
- "h2wiki",
829
- "hammondwiki",
830
- "hdl",
831
- "heraldik",
832
- "horizonlabs",
833
- "hrwiki",
834
- "hrfwiki",
835
- "hupwiki",
836
- "iarchive",
837
- "imdbname",
838
- "imdbtitle",
839
- "imdbcompany",
840
- "imdbcharacter",
841
- "incubator",
842
- "infosecpedia",
843
- "infosphere",
844
- "irc",
845
- "ircs",
846
- "ircrc",
847
- "rcirc",
848
- "iso639-3",
849
- "issn",
850
- "iuridictum",
851
- "jaglyphwiki",
852
- "jefo",
853
- "jerseydatabase",
854
- "jira",
855
- "jspwiki",
856
- "jstor",
857
- "kamelo",
858
- "karlsruhe",
859
- "kinowiki",
860
- "komicawiki",
861
- "kontuwiki",
862
- "lexemes",
863
- "liberachat",
864
- "libreplanet",
865
- "lingualibre",
866
- "linguistlist",
867
- "linuxwiki",
868
- "linuxwikide",
869
- "listarchive",
870
- "liswiki",
871
- "literateprograms",
872
- "livepedia",
873
- "localwiki",
874
- "lojban",
875
- "lokalhistoriewiki",
876
- "lostpedia",
877
- "lqwiki",
878
- "luxo",
879
- "mail",
880
- "mailarchive",
881
- "mariowiki",
882
- "marveldatabase",
883
- "meatball",
884
- "mw",
885
- "mediazilla",
886
- "memoryalpha",
887
- "metawiki",
888
- "metawikimedia",
889
- "metawikipedia",
890
- "mineralienatlas",
891
- "mixnmatch",
892
- "moinmoin",
893
- "monstropedia",
894
- "mosapedia",
895
- "mozcom",
896
- "mozillawiki",
897
- "mozillazinekb",
898
- "musicbrainz",
899
- "mediawikiwiki",
900
- "mwod",
901
- "mwot",
902
- "nkcells",
903
- "nlab",
904
- "nara",
905
- "nosmoke",
906
- "nost",
907
- "nostalgia",
908
- "oeis",
909
- "oldwikisource",
910
- "olpc",
911
- "omegawiki",
912
- "onelook",
913
- "openlibrary",
914
- "openstreetmap",
915
- "openwetware",
916
- "opera7wiki",
917
- "organicdesign",
918
- "orthodoxwiki",
919
- "osmwiki",
920
- "otrs",
921
- "otrswiki",
922
- "ourmedia",
923
- "outreach",
924
- "outreachwiki",
925
- "owasp",
926
- "panawiki",
927
- "patwiki",
928
- "paws",
929
- "personaltelco",
930
- "petscan",
931
- "phab",
932
- "phabricator",
933
- "phwiki",
934
- "phpwiki",
935
- "planetmath",
936
- "pmeg",
937
- "pmid",
938
- "pokewiki",
939
- "pokéwiki",
940
- "policy",
941
- "proofwiki",
942
- "pyrev",
943
- "pythoninfo",
944
- "pythonwiki",
945
- "pywiki",
946
- "quality",
947
- "quarry",
948
- "regiowiki",
949
- "rev",
950
- "revo",
951
- "rfc",
952
- "rheinneckar",
953
- "robowiki",
954
- "rodovid",
955
- "rowiki",
956
- "rt",
957
- "s23wiki",
958
- "scholar",
959
- "schoolswp",
960
- "scores",
961
- "scoutwiki",
962
- "scramble",
963
- "seapig",
964
- "seattlewiki",
965
- "slwiki",
966
- "semantic-mw",
967
- "senseislibrary",
968
- "sep11",
969
- "sharemap",
970
- "silcode",
971
- "slashdot",
972
- "sourceforge",
973
- "spcom",
974
- "species",
975
- "squeak",
976
- "stats",
977
- "stewardry",
978
- "strategy",
979
- "strategywiki",
980
- "sulutil",
981
- "swtrain",
982
- "svn",
983
- "swinbrain",
984
- "tabwiki",
985
- "tclerswiki",
986
- "technorati",
987
- "tenwiki",
988
- "testwiki",
989
- "testwikidata",
990
- "test2wiki",
991
- "tfwiki",
992
- "thelemapedia",
993
- "theopedia",
994
- "thinkwiki",
995
- "ticket",
996
- "tmbw",
997
- "tmnet",
998
- "tmwiki",
999
- "toolforge",
1000
- "toollabs",
1001
- "tools",
1002
- "tswiki",
1003
- "translatewiki",
1004
- "tviv",
1005
- "tvtropes",
1006
- "twiki",
1007
- "twl",
1008
- "tyvawiki",
1009
- "umap",
1010
- "uncyclopedia",
1011
- "unihan",
1012
- "unreal",
1013
- "urbandict",
1014
- "usej",
1015
- "usemod",
1016
- "usability",
1017
- "utrs",
1018
- "vikidia",
1019
- "viaf",
1020
- "vlos",
1021
- "vkol",
1022
- "votewiki",
1023
- "vrtwiki",
1024
- "vrts",
1025
- "weirdgloop",
1026
- "werelate",
1027
- "wg",
1028
- "wikia",
1029
- "wikiasite",
1030
- "wikiapiary",
1031
- "wikibooks",
1032
- "wikichristian",
1033
- "wikicities",
1034
- "wikicity",
1035
- "wikiconference",
1036
- "wikidata",
1037
- "wikiedudashboard",
1038
- "wikif1",
1039
- "wikifur",
1040
- "wikihow",
1041
- "wikiindex",
1042
- "wikilemon",
1043
- "wikilivres",
1044
- "wikilivresru",
1045
- "wikimac-de",
1046
- "wikimedia",
1047
- "wikinews",
1048
- "wikinfo",
1049
- "wikinvest",
1050
- "wikiotics",
1051
- "wikipapers",
1052
- "wikipedia",
1053
- "wikipediawikipedia",
1054
- "wikiquote",
1055
- "wikisophia",
1056
- "wikisource",
1057
- "wikisp",
1058
- "wikispecies",
1059
- "wikispot",
1060
- "wikiskripta",
1061
- "wikitech",
1062
- "labsconsole",
1063
- "wikiti",
1064
- "wikiversity",
1065
- "wikivoyage",
1066
- "betawikiversity",
1067
- "wikiwikiweb",
1068
- "wiktionary",
1069
- "wlug",
1070
- "wmam",
1071
- "wmar",
1072
- "wmat",
1073
- "wmau",
1074
- "wmbd",
1075
- "wmbe",
1076
- "wmbr",
1077
- "wmca",
1078
- "wmch",
1079
- "wmcl",
1080
- "wmcn",
1081
- "wmco",
1082
- "wmcz",
1083
- "wmcz_docs",
1084
- "wmcz_old",
1085
- "wmdc",
1086
- "securewikidc",
1087
- "wmde",
1088
- "wmdk",
1089
- "wmee",
1090
- "wmec",
1091
- "wmes",
1092
- "wmet",
1093
- "wmfdashboard",
1094
- "wmfi",
1095
- "wmfr",
1096
- "wmge",
1097
- "wmhi",
1098
- "wmhk",
1099
- "wmhu",
1100
- "wmid",
1101
- "wmil",
1102
- "wmin",
1103
- "wmit",
1104
- "wmke",
1105
- "wmmk",
1106
- "wmmx",
1107
- "wmnl",
1108
- "wmnyc",
1109
- "wmno",
1110
- "wmpa-us",
1111
- "wmph",
1112
- "wmpl",
1113
- "wmplsite",
1114
- "wmpt",
1115
- "wmpunjabi",
1116
- "wmromd",
1117
- "wmrs",
1118
- "wmru",
1119
- "wmse",
1120
- "wmsk",
1121
- "wmtr",
1122
- "wmtw",
1123
- "wmua",
1124
- "wmuk",
1125
- "wmve",
1126
- "wmza",
1127
- "wm2005",
1128
- "wm2006",
1129
- "wm2007",
1130
- "wm2008",
1131
- "wm2009",
1132
- "wm2010",
1133
- "wm2011",
1134
- "wm2012",
1135
- "wm2013",
1136
- "wm2014",
1137
- "wm2015",
1138
- "wm2016",
1139
- "wm2017",
1140
- "wm2018",
1141
- "wmania",
1142
- "wikimania",
1143
- "wikispore",
1144
- "wmteam",
1145
- "wmf",
1146
- "wmfblog",
1147
- "wmdeblog",
1148
- "wookieepedia",
1149
- "wowwiki",
1150
- "wqy",
1151
- "wurmpedia",
1152
- "xtools",
1153
- "zrhwiki",
1154
- "zum",
1155
- "zwiki",
1156
- "m",
1157
- "meta",
1158
- "d",
1159
- "cz",
1160
- "dk",
1161
- "epo",
1162
- "jp",
1163
- "minnan",
1164
- "zh-cfr",
1165
- "cmn",
1166
- "en-simple",
1167
- "w",
1168
- "wikt",
1169
- "q",
1170
- "b",
1171
- "n",
1172
- "s",
1173
- "chapter",
1174
- "v",
1175
- "voy"
1176
- ],
1177
711
  "img": {
1178
712
  "thumbnail": "thumbnail",
1179
713
  "thumb": "thumbnail",
@@ -1266,4 +800,4 @@
1266
800
  "zh-my",
1267
801
  "zh-mo"
1268
802
  ]
1269
- }
803
+ }
@@ -0,0 +1,154 @@
1
+ 'use strict';
2
+
3
+ (() => {
4
+ const MAX_STAGE = 11;
5
+
6
+ /** web worker */
7
+ const workerJS = () => {
8
+ self.importScripts('https://fastly.jsdelivr.net/gh/bhsd-harry/wikiparser-node@0.11.0-b/bundle/bundle.min.js');
9
+ const /** @type {{Parser: Parser}} */ {Parser} = self,
10
+ entities = {'&': 'amp', '<': 'lt', '>': 'gt'};
11
+
12
+ /**
13
+ * @param {{data: ['setI18N|'setConfig', ParserConfig]|[string, number, string, Boolean, number]}}
14
+ */
15
+ self.onmessage = ({data}) => {
16
+ const [command, qid, ...args] = data;
17
+ switch (command) {
18
+ case 'setI18N':
19
+ Parser.i18n = qid;
20
+ break;
21
+ case 'setConfig':
22
+ Parser.config = qid;
23
+ break;
24
+ case 'getConfig':
25
+ self.postMessage([qid, Parser.minConfig]);
26
+ break;
27
+ case 'lint':
28
+ self.postMessage([qid, Parser.parse(...args).lint(), args[0]]);
29
+ break;
30
+ default: {
31
+ const stage = args[2] === undefined ? MAX_STAGE : args[2];
32
+ self.postMessage([
33
+ qid,
34
+ Parser.parse(...args).childNodes.map(child => [
35
+ stage,
36
+ String(child),
37
+ child.type === 'text'
38
+ ? String(child).replace(/[&<>]/gu, p => `&${entities[p]};`)
39
+ : child.print(),
40
+ ]),
41
+ ]);
42
+ }
43
+ }
44
+ };
45
+ };
46
+
47
+ const blob = new Blob([`(${String(workerJS).replace(/MAX_STAGE/gu, MAX_STAGE)})()`], {type: 'text/javascript'}),
48
+ url = URL.createObjectURL(blob),
49
+ worker = new Worker(url);
50
+ URL.revokeObjectURL(url);
51
+
52
+ /**
53
+ * 生成事件监听函数
54
+ * @param {number} qid 输入id
55
+ * @param {(res: *) => void} resolve Promise对象的resolve函数
56
+ * @param {string} raw 原始文本
57
+ */
58
+ const getListener = (qid, resolve, raw) => {
59
+ const listener = /** @param {{data: [number, *, string]}} e 消息事件 */ ({data: [rid, res, resRaw]}) => {
60
+ if (rid === qid && (raw === undefined || raw === resRaw)) {
61
+ worker.removeEventListener('message', listener);
62
+ resolve(res);
63
+ }
64
+ };
65
+ return listener;
66
+ };
67
+
68
+ /**
69
+ * 更新I18N消息
70
+ * @param {Record<string, string>} i18n I18N消息
71
+ */
72
+ const setI18N = i18n => {
73
+ worker.postMessage(['setI18N', i18n]);
74
+ };
75
+
76
+ /**
77
+ * 更新解析设置
78
+ * @param {ParserConfig} config 设置
79
+ */
80
+ const setConfig = config => {
81
+ worker.postMessage(['setConfig', config]);
82
+ };
83
+
84
+ /**
85
+ * 获取Parser.minConfig
86
+ * @returns {Promise<ParserConfig>}
87
+ */
88
+ const getConfig = () => new Promise(resolve => {
89
+ worker.addEventListener('message', getListener(-3, resolve));
90
+ worker.postMessage(['getConfig', -3]);
91
+ });
92
+
93
+ /**
94
+ * 将解析改为异步执行
95
+ * @param {string} wikitext wikitext
96
+ * @param {boolean} include 是否嵌入
97
+ * @param {number} stage 解析层级
98
+ * @param {number} qid Printer编号
99
+ * @returns {Promise<[number, string, string][]>}
100
+ */
101
+ const print = (wikitext, include, stage, qid = -1) => new Promise(resolve => {
102
+ worker.addEventListener('message', getListener(qid, resolve));
103
+ worker.postMessage(['print', qid, wikitext, include, stage]);
104
+ });
105
+
106
+ /**
107
+ * 将语法分析改为异步执行
108
+ * @param {string} wikitext wikitext
109
+ * @param {boolean} include 是否嵌入
110
+ * @param {number} qid Linter编号,暂时固定为`-2`
111
+ * @returns {Promise<LintError[]>}
112
+ */
113
+ const lint = (wikitext, include, qid = -2) => new Promise(resolve => {
114
+ worker.addEventListener('message', getListener(qid, resolve, wikitext));
115
+ worker.postMessage(['lint', qid, wikitext, include]);
116
+ });
117
+
118
+ const wikiparse = {id: 0, setI18N, setConfig, getConfig, print, lint};
119
+ Object.defineProperty(wikiparse, 'MAX_STAGE', {value: MAX_STAGE, enumerable: true, configurable: true});
120
+
121
+ /** 用于语法分析 */
122
+ class Linter {
123
+ /** @param {boolean} include 是否嵌入 */
124
+ constructor(include) {
125
+ this.id = wikiparse.id++;
126
+ this.include = Boolean(include);
127
+ this.wikitext = undefined;
128
+ /** @type {Promise<LintError[]>} */ this.running = undefined;
129
+ }
130
+
131
+ /**
132
+ * 提交语法分析
133
+ * @param {string} wikitext 待分析的文本
134
+ */
135
+ queue(wikitext) {
136
+ this.wikitext = wikitext;
137
+ this.running = this.lint(wikitext);
138
+ return this.running;
139
+ }
140
+
141
+ /**
142
+ * 执行语法分析
143
+ * @param {string} wikitext 待分析的文本
144
+ */
145
+ async lint(wikitext) {
146
+ const {include} = this,
147
+ errors = await lint(wikitext, include, this.id);
148
+ return this.include === include && this.wikitext === wikitext ? errors : this.running;
149
+ }
150
+ }
151
+
152
+ wikiparse.Linter = Linter;
153
+ window.wikiparse = wikiparse;
154
+ })();
@@ -0,0 +1,63 @@
1
+ .wikiparse-container {
2
+ position: relative;
3
+ -webkit-text-size-adjust: none;
4
+ }
5
+ .wikiparsed {
6
+ position: relative;
7
+ display: block;
8
+ box-sizing: border-box;
9
+ width: 100%;
10
+ resize: vertical;
11
+ font-family: monospace;
12
+ background: none !important;
13
+ caret-color: #000;
14
+ }
15
+ #wikiPretty {
16
+ position: absolute;
17
+ inset: 0;
18
+ background-color: #fff;
19
+ -webkit-user-select: none;
20
+ user-select: none;
21
+ }
22
+ #wikiPretty + .wikiparsed, #wikiPretty {
23
+ outline: none;
24
+ border: 1.5px solid #dedede !important;
25
+ border-radius: 0;
26
+ padding: .4em;
27
+ line-height: 1.4 !important;
28
+ font-size: inherit;
29
+ tab-size: 4;
30
+ overflow-y: auto;
31
+ word-break: normal;
32
+ }
33
+
34
+ /* compromise for font-weight: bold */
35
+ .wpb-ext, .wpb-html,
36
+ .wpb-arg,
37
+ .wpb-template,
38
+ .wpb-magic-word,
39
+ .wpb-heading-title,
40
+ .wpb-table, .wpb-tr, .wpb-td,
41
+ .wpb-double-underscore, .wpb-hr, .wpb-quote, .wpb-list, .wpb-dd
42
+ .wpb-converter {
43
+ -webkit-text-stroke-width: .1ex;
44
+ }
45
+ .wpb-hidden, .wpb-table-inter, .wpb-table-inter span,
46
+ .wpb-noinclude, .wpb-include, .wpb-comment,
47
+ .wpb-ext-attrs, .wpb-html-attrs,
48
+ .wpb-ext-inner,
49
+ .wpb-arg-default,
50
+ .wpb-invoke-module, .wpb-invoke-function,
51
+ .wpb-parameter,
52
+ .wpb-table-attrs, .wpb-td-inner,
53
+ .wpb-converter-rule {
54
+ -webkit-text-stroke-width: 0;
55
+ }
56
+ #wikiPretty span {
57
+ font-weight: normal;
58
+ }
59
+
60
+ #wikiPretty.active span {
61
+ color: transparent;
62
+ background: none;
63
+ }