klipse

pbaille 2017-01-06T09:48:27.000262Z

Hello, could someone tell me why this snippet doesn't work?

html
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="https://storage.googleapis.com/app.klipse.tech/css/codemirror.css"> 

    <script>
      window.klipse_settings = {
        selector: '.language-klipse'// css selector for the html elements you want to klipsify
      };
    </script>
    <script src="https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js"></script>
  </head>

  <body>
    <div class="language-klipse">
       (map inc [1 2 3])
    </div>
  </body>
</html>

Yehonathan Sharvit 2017-01-06T09:49:01.000263Z

you need to use the non-minified version of klipse!

Yehonathan Sharvit 2017-01-06T09:49:25.000264Z

You are the 2nd person today @pbaille that encounters teh same issue

Yehonathan Sharvit 2017-01-06T09:49:39.000265Z

I definitely need to make it more clear in the README!

pbaille 2017-01-06T09:50:03.000266Z

thank you a lot for the quick answer

pbaille 2017-01-06T09:50:10.000267Z

klipse is killing!

Yehonathan Sharvit 2017-01-06T09:50:20.000268Z

Happy that you like it

Yehonathan Sharvit 2017-01-06T09:50:23.000269Z

Are you french?

pbaille 2017-01-06T09:50:27.000270Z

yes

pbaille 2017-01-06T09:50:31.000271Z

you?

Yehonathan Sharvit 2017-01-06T09:55:08.000272Z

An important remark about the klipse plugin: for clojure snippets you must use the non-minified version of klipse

1
Yehonathan Sharvit 2017-01-06T09:55:14.000273Z

I have made it more clear in the README

Yehonathan Sharvit 2017-01-06T09:55:26.000274Z

Thx @pbaille and @timothypratley