@scalar/use-codemirror
TypeScript icon, indicating that this package has built-in type declarations

0.11.38 • Public • Published

Scalar useCodeMirror()

Version Downloads License Discord

Installation

npm install @scalar/use-codemirror

Usage

<script setup>
import { CodeMirror } from '@scalar/use-codemirror'
</script>

<CodeMirror
  class="my-custom-class"
  content="const foobar = true"
  readOnly
  @change="(value) =>" />

Package Sidebar

Install

npm i @scalar/use-codemirror

Weekly Downloads

23,783

Version

0.11.38

License

MIT

Unpacked Size

35.8 kB

Total Files

31

Last publish

Collaborators

  • amritkahlon
  • scalar_geoff
  • mason-little
  • hwkr
  • tommastro
  • cameronrohani
  • hanspagel
  • marclave