wiki-grav/plugins/page-toc/page-toc.yaml
2022-06-06 18:16:01 +02:00

18 lines
1.1 KiB
YAML

enabled: true # Plugin enabled
include_css: true # Include CSS
active: true # Anchor IDs processed and generated for all pages
start: 1 # Start header tag level (1 = h1) for TOC
depth: 6 # Depth from start (2 = 2 levels deep) for TOC
hclass: # Custom Header TOC styling classes
anchors: # Anchor configuration
start: 1 # Start header tag level (1 = h1)
depth: 6 # Depth from start (2 = 2 levels deep)
link: true # Enabled auto-generation of clickable link with fragment
aria: Anchor # Aria label to use
class: # Custom Header anchor styling classes
icon: '#' # Icon to use, can be a symbol, emoji, ascii etc.
position: after # Position to put the anchor, `before|after`
copy_to_clipboard: false # Copy to clipboard functionality
slug_maxlen: 25 # Max length of slugs used for anchors
slug_prefix: # A prefix used in front of generated slugs