Giter Club home page Giter Club logo

Comments (6)

viebel avatar viebel commented on August 22, 2024

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.

sandro-pasquali avatar sandro-pasquali commented on August 22, 2024

@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.

viebel avatar viebel commented on August 22, 2024

from klipse.

sandro-pasquali avatar sandro-pasquali commented on August 22, 2024

I'll be using it for embedding executable code in docs, and the code will likely be JS (es6)

from klipse.

viebel avatar viebel commented on August 22, 2024

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.

viebel avatar viebel commented on August 22, 2024

It's merged in master and available since version 6.1.0 https://github.com/viebel/klipse/releases

from klipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.