Skip to content

PhilippMundhenk/Kirby-Table-of-Contents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release GitHub issues GitHub license

#Kirby Table of Contents ##Quick Reference Table of Contents: (toc: 6)
number indicates the maximum level to be included, always starts at level 2

Headline 1: (l1: Headline1)
Headline 2: (l2: Headline2)
Headline 3: (l3: Headline3)
Headline 4: (l4: Headline4)
Headline 5: (l5: Headline5)
Headline 6: (l6: Headline6)

##Additional Options The following are additional options for formatting the table of contents and the contained links. All parameters go into the (toc) tag.

  • levelchar: Allows to change the character used to separate different levels in the table of contents, usage: levelchar: > or levelchar: space
  • split: Allows to change the replacement character for a space, example usage: split: -
  • lowercase: Allows to change all letters in the link to lowercase, usage: lowercase: 1

###Example
(toc:6 split: - lowercase: 1 levelchar: >)
(l2: Test testä?)
(l3: Test2 testä?)

##Installation copy to your kirby/site/tags folder

##Full Documentation & Demo Please find the documentation and demo here: www.mundhenk.org