Comments (6)
For the moment, it's not configurable.
I clearly understand your need.
I will make it configurable.
The solution I thought about was to add a parameter to klipse_settings
named static_scripts_path
. By default its value will be https://viebel.github.io/klipse/repo/js/
.
Will it fit your need?
from klipse.
@viebel Yes, I think the idea of configuring in this way would work for me. The "just works" thing is nice, given all the plugins and so on needed for codemirror etc.
Maybe related: a build option to build (and bundle) only the files necessary for one language (say, ruby) would be nice. If that was done could prob just inline the code above.
Regardless, thanks for making this tool.
from klipse.
from klipse.
I'll be using it for embedding executable code in docs, and the code will likely be JS (es6)
from klipse.
PR #181 makes codemirror root and scripts root configurable in the klipse_settings
.
codemirror_root: '/my-codemirror-root', // the root of codemirror files
scripts_root: '/my-scripts-root', // the root of scripts files (e.g pretty_format.js, \
opal.js ...)
@sandro-pasquali could you please give it a try before I merge it?
from klipse.
It's merged in master and available since version 6.1.0 https://github.com/viebel/klipse/releases
from klipse.
Related Issues (20)
- CORS blocks script HOT 4
- new issue with reagent, and loading namespaces? HOT 2
- Adding class="hidden" is not hiding code snippets HOT 1
- Unable to use npm package HOT 1
- Clojure.spec is broken HOT 2
- Allow Klipse to be easilly embedded as an iframe HOT 3
- hello world HOT 3
- how to find compiler versions? HOT 1
- Klipse Snippets not loading on Klipse blogpost HOT 1
- Add Deno runtime and Dartlang HOT 1
- Python dependency on skulpt.0.10.0.min.js? HOT 2
- Klipse's GitBook Clojure[script] links seem to be broken HOT 1
- Pyodide:
- Support for nim language HOT 1
- Any way to evaluate a snippet only when a button is clicked? (not evaluate all the time)
- `cljs.core.match` fails to load HOT 1
- cannot fetch from viebel.github.io HOT 3
- Is there Haskell support? HOT 3
- Is there Zig support? HOT 1
- Missing input box HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klipse.