Initialize TOC context


/ Published in: Lisp
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ;; creates an empty TOC context
  2. (define (init-toc)
  3. (set 'TOC:toc (list SETUP:toc-start))
  4. (set 'TOC:lvl 1)
  5. (set 'TOC:anchor 0)
  6. (set 'TOC:found false))

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.