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: 4 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 (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T17:50:18.000Z (4 months ago)
- Last Synced: 2024-10-21T23:18:54.867Z (4 months ago)
- Language: JavaScript
- Homepage: http://piecioshka.github.io/executor-editor/demo/
- Size: 9.08 MB
- Stars: 41
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
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 `