1.8.9 • Published 2 years ago

gitbook-plugin-eason-parser v1.8.9

Weekly downloads
13
License
ISC
Repository
github
Last release
2 years ago

Introduction

This plugin allows you to embed klipse: https://github.com/viebel/klipse in gitbook projects.

Klipse allows code snippets in your gitbooks to be live and interactive. The code is evaluated as you type or when you press Ctrl-Enter.

To enable this plugin add klipse to your book.json plugins.

Now you can embed interactive code snippets (clojure, javascript, python, ruby, scheme and php) in your gitbooks.

You can read the full interactive guide for using klipse in a gitbook. The guide is itself a gitbook using the klipse plugin.

Clojure & ClojureScript

For clojurescript code evaluation:

For clojurescript code transpilation:

Javascript

Python

Ruby

Scheme

PHP

Using options

You can define snippet level configuration by using gitbook blocks instead of code fences. The first argument is always the language, followed by named arguments for all other configuration options. All option names are camelCased.

Clojure & ClojureScript

{% klipse "eval-clojure", loopMsec="1000" %}
(rand)
{% endklipse %}

Javascript

{% klipse "eval-js", loopMsec="1000" %}
new Date()
{% endklipse %}
1.8.9

2 years ago

1.8.8

2 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago