8000 Regenerate readme · codemirror/lang-python@bcd3f34 · GitHub
[go: up one dir, main page]

Skip to content

Commit bcd3f34

Browse files
committed
Regenerate readme
1 parent 11ec193 commit bcd3f34

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

README.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# @codemirror/lang-python [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-python.svg)](https://www.npmjs.org/package/@codemirror/lang-python)
44

5-
[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md) ]
5+
[ [**WEBSITE**](https://codemirror.net/6/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md) ]
66

77
This package implements Python language support for the
8-
[CodeMirror](https://codemirror.net/) code editor.
8+
[CodeMirror](https://codemirror.net/6/) code editor.
99

10-
The [project page](https://codemirror.net/) has more information, a
11-
number of [examples](https://codemirror.net/examples/) and the
12-
[documentation](https://codemirror.net/docs/).
10+
The [project page](https://codemirror.net/6/) has more information, a
11+
number of [examples](https://codemirror.net/6/examples/) and the
12+
[documentation](https://codemirror.net/6/docs/).
1313

1414
This code is released under an
1515
[MIT license](https://github.com/codemirror/lang-python/tree/main/LICENSE).
@@ -20,17 +20,29 @@ conduct](http://contributor-covenant.org/version/1/1/0/) that applies
2020
to communication around the project.
2121

2222
# API Reference
23+
2324
<dl>
24-
<dt id="user-content-python">
25-
<code><strong><a href="#user-content-python">python</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>
25+
<dt id="user-content-globalcompletion">
26+
<code><strong><a href="#user-content-globalcompletion">globalCompletion</a></strong>: <a href="https://codemirror.net/docs/ref#autocomplete.CompletionSource">CompletionSource</a></code></dt>
2627

27-
<dd><p>Python language support.</p>
28+
<dd><p>Autocompletion for built-in Python globals and keywords.</p>
29+
</dd>
30+
<dt id="user-content-localcompletionsource">
31+
<code><strong><a href="#user-content-localcompletionsource">localCompletionSource</a></strong>(<a id="user-content-localcompletionsource^context" href="#user-content-localcompletionsource^context">context</a>: <a href="https://codemirror.net/docs/ref#autocomplete.CompletionContext">CompletionContext</a>) → <a href="https://codemirror.net/docs/ref#autocomplete.CompletionResult">CompletionResult</a> | <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null">null</a></code></dt>
32+
33+
<dd><p>Completion source that looks up locally defined names in
34+
Python code.</p>
2835
</dd>
2936
<dt id="user-content-pythonlanguage">
30-
<code><strong><a href="#user-content-pythonlanguage">pythonLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LezerLanguage">LezerLanguage</a></code></dt>
37+
<code><strong><a href="#user-content-pythonlanguage">pythonLanguage</a></strong>: <a href="https://codemirror.net/docs/ref#language.LRLanguage">LRLanguage</a></code></dt>
3138

3239
<dd><p>A language provider based on the <a href="https://github.com/lezer-parser/python">Lezer Python
3340
parser</a>, extended with
3441
highlighting and indentation information.</p>
3542
</dd>
36-
</dl>
43+
<dt id="user-content-python">
44+
<code><strong><a href="#user-content-python">python</a></strong>() → <a href="https://codemirror.net/docs/ref#language.LanguageSupport">LanguageSupport</a></code></dt>
45+
46+
<dd><p>Python language support.</p>
47+
</dd>
48+
</dl>

0 commit comments

Comments
 (0)
0