@bhsd/codemirror-mediawiki 2.0.13 → 2.0.14

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/README.md CHANGED
@@ -71,6 +71,8 @@ The textarea element replaced by CodeMirror.
71
71
  <details>
72
72
  <summary>Expand</summary>
73
73
 
74
+ *version added: 2.0.13*
75
+
74
76
  **type**: `string`
75
77
  The current language mode.
76
78
 
@@ -91,6 +93,8 @@ The CodeMirror EditorView instance.
91
93
  <details>
92
94
  <summary>Expand</summary>
93
95
 
96
+ *version added: 2.0.13*
97
+
94
98
  **returns**: `Promise<(doc: Text) => Diagnostic[] | Promise<Diagnostic[]>>`
95
99
  Get the default linting function, which can be used as the argument of [`lint`](#lint).
96
100
 
@@ -126,6 +130,8 @@ cm.lint( ( doc ) => [
126
130
  <details>
127
131
  <summary>Expand</summary>
128
132
 
133
+ *version added: 2.0.9*
134
+
129
135
  **param**: `string` the preferred [CodeMirror extensions](https://codemirror.net/docs/extensions/)
130
136
  Set the preferred CodeMirror extensions.
131
137
 
@@ -147,6 +153,8 @@ cm.prefer( [
147
153
  <details>
148
154
  <summary>Expand</summary>
149
155
 
156
+ *version added: 2.0.8*
157
+
150
158
  **param**: `string` the indentation string, default as tab
151
159
  Set the indentation string.
152
160