mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-02 09:50:01 +00:00
toc - add tc- prefix to class definitions, to make them more obvious
This commit is contained in:
parent
c18713723f
commit
781213911d
@ -48,11 +48,11 @@ The very first toc macro is _not_ reused. So it can be used as a simple referenc
|
||||
\procedure toc-includeField() toc-include
|
||||
\procedure toc-filterField() toc-filter
|
||||
|
||||
<!-- helper functions for li class definitions -->
|
||||
<!-- helper functions for li class definitions on the branch level -->
|
||||
\function tf.toc-itemClassFilter() [<selectedTiddler>get[text]match<currentTiddler>then[toc-item-selected]else[toc-item]]
|
||||
\function tf.toc-includeClass() [subfilter<tf.toc-include>match<currentTiddler>then[toc-item-include]]
|
||||
\function tf.toc-filterClass() [subfilter<tf.toc-filter>match<currentTiddler>then[toc-item-filter]]
|
||||
\function tf.toc-hideClass() [<tf.toc-hide>!is[blank]then[toc-item-hide]]
|
||||
\function tf.toc-includeClass() [subfilter<tf.toc-include>match<currentTiddler>then[tc-toc-include]]
|
||||
\function tf.toc-filterClass() [subfilter<tf.toc-filter>match<currentTiddler>then[tc-toc-filter]]
|
||||
\function tf.toc-hideClass() [<tf.toc-hide>!is[blank]then[tc-toc-hide]]
|
||||
<!-- join the CSS definitions from above -->
|
||||
\function tf.toc-itemClass() [<tf.toc-itemClassFilter>] [<tf.toc-includeClass>] [<tf.toc-filterClass>] [<tf.toc-hideClass>] +[join[ ]]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user