Commit graph

13 commits

Author SHA1 Message Date
Shigeaki Matsumura
9858723403 fix toc entry for title which has a link 2016-10-23 12:07:50 +09:00
Jeff Rabinowitz
e34ea8c989 Fixed a regression under which the old style of using :toc true would throw an exception because the tag was not properly cast to a :ul or :ol tag. Added unit testing for all cases. 2015-11-08 20:35:04 -05:00
Jeff Rabinowitz
365df0e680 Reimplemented TOC logic using zippers to ensure state is always internally valid. Also added unit testing to provide a regression testing suite. This should fix issue #19. 2015-11-01 19:34:06 -05:00
Carmen La
1063704f4f Swap order of _list-types and list-type in toc.clj 2015-10-31 14:50:51 -04:00
Jeff Rabinowitz
61e93a3480 fixed bug with threading macro in wrong order. fixed bug with where space not present between tag and class for top level ul/ol.. 2015-10-27 22:58:22 -04:00
Jeff Rabinowitz
482700a311 Submitting a feature request for the :toc to support both ordered and unordered lists by expanding the vocabulary of the existing :toc directive to include :ul and :ol 2015-10-25 19:14:43 -04:00
Marko Kocic
f4888b26d9 Clear reflection warnings 2015-09-14 12:06:35 +02:00
Carmen La
d6941823fd Added option for post preview pages rather than a single index page. Issue #28 2015-07-08 16:34:39 -04:00
Stefan Pfeiffer, DL1ELY
a73e2f664e Fix garbled UTF-8 characters in TOC generation
Fixes #13
2015-01-28 15:43:32 +01:00
Adam Tankanow
5609772cd3 Add docstring and support for creating links for header id attributes
- this method will now look for both of the following references, this
  commit adds support for (2)

(1) <h1><a name="href">Reference Text</a></h1>
and
(2) <h1 id="href">Reference Text</h1>
2015-01-09 07:16:22 -05:00
Adam Tankanow
b3bad2e279 add docstring to get-headings function 2015-01-09 07:13:35 -05:00
Martin Kremers
714f5c838d Enable multilevel table of contents 2014-12-14 15:17:02 +01:00
lacarmen
9ee0968a0f Renamed to cryogen-core 2014-12-05 10:56:40 -05:00
Renamed from src/cryogen/toc.clj (Browse further)