Skip to content

hoplon/highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hoplon Highlight

A wrapper to use highlight-js on Hoplon projects

Latest version

[hoplon/highlight "8.4.0-0"] ;; latest release

Usage

(ns application.core
  (:require [hoplon.highlight :as hl]))

;; This will create a <pre> <code> block with the code on the string highlighted
(hl/highlight "(defn abc [x]\n  (str x))")

;; This will find every <pre> <code> block and highlight it
(hl/highlight-pre-code)

About

Hoplon highlight-js component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published