3.2.0 • Published 24 days ago

codemirror-console-ui v3.2.0

Weekly downloads
35
License
MIT
Repository
github
Last release
24 days ago

codemirror-console-ui

Web UI Components of codemirror-console.

Installation

npm install codemirror-console-ui

Usage

import { attachToElement } from "codemirror-console-ui" 
const codeBlock = document.querySelector("code");
attachToElement(codeBlock, "default text", {
   state: "open",
   scrollIntoView: true
});

How to custom Localization?

If you want to custom locale, please add translated text to components/localization.js.

  1. Add translated text to components/localization.js
  2. Add lang(like "en", "ja") to components/mirror-console-component.js
  3. Submit Pull Request!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

3.2.0

24 days ago

3.1.0

11 months ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.5

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.0.1

8 years ago

1.0.0

9 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago