Skip to content
forked from scicloj/clay.el

Emacs commands Clay - literate in Clojure

License

Notifications You must be signed in to change notification settings

emacsmirror/clay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clay.el

License GPL 3

Emacs binding for the Clay Clojure tool for data visualization and literate programming

⭐ Note that API function names have changed (2024-01-10), see below. ⭐

Usage

Walkthrough

🎥 Clay v2 pre-release with CIDER, 2023-12-17

Installing & loading

Soon, this package will hopefully be in MELPA. Till then, you may install & load it in the following ways using use-package.

Using straight, you may load the package as follows:

(use-package clay
  :straight (clay
             :type git
             :host github
             :repo "scicloj/clay.el"))

Using vc-use-package, you may load the package as follows:

(use-package clay
  :vc (:fetcher github :repo scicloj/clay.el))

API

The package offers the following functions, that you may wish to create keybindings for:

name function
clay-start Start clay if not started yet.
clay-make-ns-html Save clj buffer, render it as html, and show that in the browser view.
clay-make-ns-quarto-html Save clj buffer, render it as quarto, render that as html, and show that in the browser view.
clay-make-ns-quarto-revealjs Save clj buffer, render it as quarto, render that as a revealjs slideshow, and show that in the browser view.
clay-make-last-sexp Render the last Clojure form before the cursor.
clay-make-defun-at-point Render the the top-level Clojure form at the cursor.

License

Clay.el is distributed under the GNU General Public License, version 3.

Copyright © 2024 Scicloj

About

Emacs commands Clay - literate in Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%