@bhsd/codemirror-mediawiki 3.6.2 → 3.6.3

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.
package/dist/theme.js CHANGED
@@ -23,6 +23,7 @@ export const light = /* @__PURE__ */ EditorView.theme({
23
23
  '--cm-tpl': '#80c',
24
24
  '--cm-var': '#ad9300',
25
25
  '--cm-var-name': '#ac6600',
26
+ '--cm-ref': 'rgb(223,242,235,.5)',
26
27
  },
27
28
  [matching]: {
28
29
  backgroundColor: 'rgb(50,140,130,.32)',
@@ -71,6 +72,7 @@ nord = /* @__PURE__ */ (() => [
71
72
  '--cm-tpl': '#9f78a5',
72
73
  '--cm-var': '#d08770',
73
74
  '--cm-var-name': '#d08770',
75
+ '--cm-ref': 'rgb(60,90,80,0.5)',
74
76
  },
75
77
  'div.cm-activeLine': {
76
78
  backgroundColor: 'rgb(76,86,106,.27)',
package/dist/token.js CHANGED
@@ -541,7 +541,7 @@ let MediaWiki = (() => {
541
541
  this.addToken(`section--${i}`);
542
542
  }
543
543
  for (const tag of this.tags) {
544
- this.addToken(`tag-${tag}`, tag !== 'nowiki' && tag !== 'pre');
544
+ this.addToken(`tag-${tag}`, tag !== 'nowiki' && tag !== 'pre' && tag !== 'ref');
545
545
  this.addToken(`ext-${tag}`, true);
546
546
  }
547
547
  for (const tag of this.permittedHtmlTags) {
@@ -652,7 +652,6 @@ let MediaWiki = (() => {
652
652
  }
653
653
  else if (ch === ' '
654
654
  && !/^ \s*(?=<!--)(?:\s|<!--(?:(?!-->).)*-->)+$/u.test(stream.string)) {
655
- /** @todo indent-pre is sometimes suppressed */
656
655
  return tokens.skipFormatting;
657
656
  }
658
657
  }