-
- Updated Spanish translation #40
-
- Reverted to use
mb_encode_nuericentity()
instead ofhtmlspecialchars
/iconv
approach to fix breaking UTF-8 characters
- Reverted to use
-
- Revert Twig macro to use
_self
as it was breaking the recursion. Deprecated message remains but can't be helped. #38
- Revert Twig macro to use
-
- Use
mb_encode_nuericentity()
instead ofhtmlspecialchars
/iconv
approach to fix breaking UTF-8 characters - Fix a deprecated message in the Twig macro
- Use
-
- 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
-
- 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
-
- Fixed some blueprint errors that caused errors on save
- Force
start
anddepth
to be integers #17
-
- 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
-
- 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
-
- 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