Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-plugin-repl

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-repl

A Gitbook plugin for running a REPL inside Gitbook

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

GitBook Plugin - REPL

This is a Gitbook Plugin that allows you to embed a REPL right in your Gitbook! This plugin powers the Clojure REPL used in writing the Clojure By Example guide.

img

The plugin uses the awesome open-source jqConsole for embedding a terminal.

Dependancies

To make this work, you need a running app in the backend to which the REPL will send code via Ajax and get back evaluated result.

For Clojure you can just fork the Try Clojure project and host it on Heroku. The plugin can then be customized to use your custom heroku app.

Note: You will need to customize the Try Clojure noir app so that it can accept cross-domain requests.

Usage

{
  "plugins": ["repl"],
  "pluginsConfig": {
    "repl": { "URL": "http://example-herokuapp.com/eval" }
  }
}

FAQs

Package last updated on 25 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc