Skip to content

Latest commit

 

History

History

katex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

cljsjs/katex

[cljsjs/katex "0.13.0-0"] ;; latest release

After adding the above dependency to your project you can require the packaged library like so:

(ns application.core
  (:require cljsjs.katex))

Access the fonts and css bundled in the library like this:

    (sift :add-jar {'cljsjs/katex #"cljsjs/katex/development/katex.inc.css"})
    (sift :add-jar {'cljsjs/katex #"cljsjs/katex/common/fonts"})
    (sift :move {#"cljsjs/katex/development/katex.inc.css" "css/katex.inc.css"})
                 #"cljsjs/katex/common/fonts/(.*)"         "fonts/$1"}

You can now use js/katex.