Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piecioshka/executor-editor
:hammer: Display and evaluate your JavaScript code.
https://github.com/piecioshka/executor-editor
Last synced: about 2 months ago
JSON representation
:hammer: Display and evaluate your JavaScript code.
- Host: GitHub
- URL: https://github.com/piecioshka/executor-editor
- Owner: piecioshka
- Created: 2012-04-14T12:00:31.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-01-22T18:42:28.000Z (over 1 year ago)
- Last Synced: 2024-07-25T17:29:24.221Z (about 2 months ago)
- Language: JavaScript
- Homepage: http://piecioshka.github.io/executor-editor/demo/
- Size: 10.1 MB
- Stars: 39
- Watchers: 3
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
executor-editor
:hammer: Display and evaluate your JavaScript code.
## Preview 🎉
## Features
* :white_check_mark: Embed any programming code
* :white_check_mark: Highlight JavaScript syntax
* :white_check_mark: Auto-evaluate the JavaScript code
* :white_check_mark: Execute code on demand
* :white_check_mark: Layout modes: `horizontal`, `vertical`
* :white_check_mark: Multiple instance on single page
* :white_check_mark: Support skins
* :white_check_mark: Display errors in red color## Installation
```bash
npm install executor-editor
```or
```bash
bower install executor-editor
```## Usage
1. Add CSS class `executor-editor` to HTML element:
```html
class Cake {
toString() {
return '[Cake]';
}
}console.log(String(new Cake()));
```2. Add on the bottom of page, example before `