2.1 KiB
2.1 KiB
v3.0.0
12/03/2021
-
- NEW Support built-in
anchors
'` with customization of icon/classes/css etc. - NEW
[anchor]
shortcode for creating manual anchors for easy linking to page content - Moved the vendor-based TOC functionality in-plugin to provide more flexibility and additional features
- Added several more Twig functions for increased flexibility
- Ability to limit the length of a fragment link
- Ability to set a custom prefix for anchor links
- Added
languages.yaml
file for text translations
- NEW Support built-in
-
- Independent control over the levels of anchors that should be built and the TOC displayed
page-toc:
page-level configuration can be set in parent pages and trickles down to child pages- Removed dependency on HTML5 library and use the faster PHP
DOMDocument
class - Translated text for the "Table of Contents" in the
page-toc.html.twig
template
v2.0.0
11/24/2021
-
- Added new
components/page-toc.html.twig
that can be extended and the HTML output modified - Updated core TOC library to latest
3.0.2
version - Requires PHP
7.3.6
- Requires Grav
1.7+
- Added Shortcode-like in-page syntax support. e.g.
[toc]
- Added new
v1.1.2
06/01/2021
-
- Added page-toc blueprints under "Advanced" tab for admin
-
- Updated to latest
knplabs/knp-menu
library
- Updated to latest
-
- Added
|raw
filter to twig output in README.md
- Added