6.2.1 • Published 5 months ago

@codemirror/lang-python v6.2.1

Weekly downloads
222
License
MIT
Repository
github
Last release
5 months ago

@codemirror/lang-python NPM version

[ WEBSITE | ISSUES | FORUM | CHANGELOG ]

This package implements Python language support for the CodeMirror code editor.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.

Usage

import {EditorView, basicSetup} from "codemirror"
import {python} from "@codemirror/lang-python"

const view = new EditorView({
  parent: document.body,
  doc: `print("Hello world")`,
  extensions: [basicSetup, python()]
})

API Reference

ww-code-cell@infinitebrahmanuniverse/nolb-_codem@everything-registry/sub-chunk-184@datagrok/deqs@webwriter/ww-codesweepaiteng-xinx-star-designstarboard-notebooktibetvtvvitepress-python-editor@runno/runtimejupyterlab-playbackicp-bundlehf-tgi-api-helperlocus-editor-uilake-codemirrorkolojs@wcfdehao/code-editor@webwriter/code@uiw/codemirror-extensions-langs@termsurf/hawk@vinhnk/n8n-editor-ui@viur/vue-components@yamcs/webapp-sdk@yoopta/code@zalastax/nolb-_codem@zhishuyun/data@zhishuyun/hub@termsurf/crow@termsurf/leafacciojob-packagesatlas-jupyter-reactape-test-3-editor-uiape-test-4-editor-uiape-test-5-editor-uiape-test-6-editor-uiape-test-7-editor-uiape-test-editor-uiape-test-2-editor-uiape-flows-editor-uiarchive-flows-editor-ui@goauthentik-test/web@goauthentik/web@gradio/code@atrilabs/react-component-manifests@cluesurf/leaf@10yun/cv-pc-ui@acedatacloud/hub@acedatacloud/nexior@codemirror/language-data@itgenio/edik-codemirror@codacus/bolt.diy@alisowski/codemirror-extensions-langs@coze-editor/code-language-python@hbauer/codemirror-sidebar@amoayun/vue-codemirror@yimian-ui/functionspui9-components-nextublatttripdocstripdocs-js-sdk@astrodown/mars-react@brightspace-ui/htmleditor@chat-bot/editor-ui@chardetm/web-ide@bojit/svelte-componentszq_ui_react_4virtai-ui-plusvirtai-plus@mrawdon/jupyter-react@mpyc-web/demo@kodemo/player@scidian/scrimpmtxadminmtmaiadminminditoronchain-cad-sdkpalm-editorrender-jupyter-notebook-vuerender-jupyter-vitepureditq-viewprintscratch.3.0prosemirror-codemirror-blocknotie-markdownpy_sandpackreact-tools-codemirrorcodesandbox-sandpack-vue3beaker-vuebolt-it-testbolt.diyblock-json-editorbirdy-flows-1-editor-uibirdy-flows-editor-ui@stencila/components@teamtells/code@tagspaces/tagspaces-codemirrorfancy-editor-vue3
6.2.1

5 months ago

6.2.0

6 months ago

6.1.7

9 months ago

6.1.6

1 year ago

6.1.5

2 years ago

6.1.4

2 years ago

6.1.3

2 years ago

6.1.2

3 years ago

6.1.0

3 years ago

6.0.3

3 years ago

6.1.1

3 years ago

6.0.4

3 years ago

6.0.2

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

0.20.0

3 years ago

0.19.5

4 years ago

0.19.3

4 years ago

0.19.4

4 years ago

0.19.0

4 years ago

0.19.1

4 years ago

0.19.2

4 years ago

0.18.1

4 years ago

0.18.0

5 years ago

0.17.2

5 years ago

0.17.1

5 years ago

0.17.0

5 years ago