Play code with online playgrounds.
Currently support:
- Go playground (official)
- Rust playground (official)
- rextester (third-party)
- mycompiler (third-party)
- labstack (third-party)
The priority of official playground is higher than the third-party, it can be changed by modifying playonline-ground-alist
.
Clone this repository, then add the following to your .emacs
:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site-lisp/playonline"))
(require 'playonline)
M-x playonline
This function can be applied to:
- buffer
- region
- block (or region in block) ;; requires org / markdown mode