3.2 KiB
3.2 KiB
v3.2.2
05/10/2023
-
- Use
mb_encode_nuericentity()
instead ofhtmlspecialchars
/iconv
approach to fix breaking UTF-8 characters - Fix a deprecated message in the Twig macro
- Use
v3.2.1
05/08/2023
v3.2.0
02/23/2022
-
- Support for HTML or Shortcode based headers with custom
id
attributes to specify an anchor - Added German translation
- Support for HTML or Shortcode based headers with custom
v3.1.3
01/03/2022
-
- Require Grav
v1.7.26
to make use of built inPlugin::inheritedConfigOption()
- NOTE:
page-toc v3.1.2
was released prior toGrav v1.7.26
and has been removed
- Require Grav
-
- Don't force inclusion of
<html>
or<body>
tags to reduce chance of invalid HTML - Improved
README.md
- Don't force inclusion of
v3.1.1
12/16/2021
-
- Fixed some blueprint errors that caused errors on save
- Force
start
anddepth
to be integers #17
v3.1.0
12/09/2021
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