Avi's Issues, Defects, & Feature Requests

{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
        ;; complient is used for autocompletion
        ;; add your libs here (and restart the runtime to pick up changes)
        compliment/compliment {:mvn/version "0.3.9"}}}
deps.edn
Extensible Data Notation
{:hello (clojure-version)}
0.1s
Clojure

Issue "Toggle Line Comment"

;; control + / to toggle line comment
0.0s
Clojure

Issue #6647 "backspace won't remove newline preceded by text"

;; I am line 1
;; Put cursor on line 2 and hit backspace to remove line
;; I am line 4
0.0s
Clojure

Issue #6599 "Collapsible code listing"

;; programmatically rendered markdown
;; question: Why does this work in other notebooks but not here?
(v/view-as :markdown "### Example D\n\n```clojure (println \"Hello World\")```")
0.2s
Clojure

nextjournal.viewer is not yet available in Clojure, as a workaround this should work:

;; not sure why this doesn't work, need to investigate further
;; understood: Please check this out, this is where I referenced the code from:
;; https://nextjournal.com/avidrucker/render-demo-2021_05_05/edit
{:nextjournal/viewer :markdown
 :nextjournal/value "### Example A\n\n```(println \"Hello World\")```"}
0.0s
Clojure
;; note: this works now... for some reason ¯\_(ツ)_/¯
(v/view-as :markdown "### Example B
  
  ```clojure
  (println \"Hello World\")
  ```")
ClojureScript
;; this does work
{:nextjournal/viewer :markdown
 :nextjournal/value "### Example C
 
 ```clojure
 (println \"Hello World\")
 ```
 
<details>
<summary>I am a clickable dropdown</summary>
<p>It's because the details block is html5. If you want to modify it your best bet is using html5. </p>
</details>"}
ClojureScript
<code>var x = 5;</code>
HTML

Hidden Code Cell Below 🔽

<!-- reference: https://gist.github.com/joyrexus/16041f2426450e73f5df9391f7f7ae5f -->
<h3> collapsible HTML? </h3>
<details>
  <summary>CLICK ME</summary>
  <section>
      <h3>
        yes, even hidden code blocks!
      </h3>
      <pre>
        <code>
          // JavaScript
          conole.log("hello world!")
        </code>
      </pre>
      <pre>
        <code>
          ;; Clojure
          (println "hello world!")
        </code>
      </pre>
    </section>
</details>
HTML
;; I am a Clojure code block.
;; I cannot be hidden currently. 
(println "Hi there Nextjournal!")
Clojure
Runtimes (3)