From 8e1e875ebf2ebc204c6f902d3d7a34d974d1276b Mon Sep 17 00:00:00 2001 From: pmario Date: Sun, 4 Feb 2024 22:29:07 +0100 Subject: [PATCH] add class handling for toc-override --- core/wiki/macros/toc.tid | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 200e87e02..defc8dfd7 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -20,9 +20,10 @@ tags: $:/tags/Macro \function tf.toc-itemClassFilter() [get[text]matchthen[toc-item-selected]else[toc-item]] \function tf.toc-includedClass() [subfiltermatchthen[toc-item-included]] -\function tf.toc-hideClass() [!is[blank]then[toc-item-excluded]] +\function tf.toc-overrideClass() [subfiltermatchthen[toc-item-override]] +\function tf.toc-hideClass() [!is[blank]then[toc-item-hide]] -\function tf.toc-itemClass() [] [] [] +[join[ ]] +\function tf.toc-itemClass() [] [] [] [] +[join[ ]] \function tf.toc-getHideText() [get[toc-hide]]