Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twlz0ne/playonline.el
Play code with online playgrounds
https://github.com/twlz0ne/playonline.el
Last synced: about 2 months ago
JSON representation
Play code with online playgrounds
- Host: GitHub
- URL: https://github.com/twlz0ne/playonline.el
- Owner: twlz0ne
- License: gpl-3.0
- Created: 2019-10-22T22:54:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-22T09:04:17.000Z (over 4 years ago)
- Last Synced: 2024-04-14T02:57:17.848Z (6 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 143 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/twlz0ne/playonline.el.svg?branch=master)](https://travis-ci.com/twlz0ne/playonline.el)
# playonline.el
Play code with online playgrounds.
Currently support:
- [Go playground](https://play.golang.org/) (official)
- [Rust playground](https://play.rust-lang.org) (official)
- [rextester](https://rextester.com) (third-party)
- [mycompiler](https://www.mycompiler.io) (third-party)
- [labstack](https://code.labstack.com) (third-party)The priority of official playground is higher than the third-party, it can be changed by modifying `playonline-ground-alist`.
## Installation
Clone this repository, then add the following to your `.emacs`:
```elisp
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp/playonline"))
(require 'playonline)
```## Usage
```
M-x playonline
```This function can be applied to:
- buffer
- region
- block (or region in block) ;; requires org / markdown mode