Loading...
 
Skip to main content

Features / Usability


Show/Hide

posts: 101

Hi folks,

I'm having troubles with the Show/Hide tag. Whenever I use it, it always seems to include areas of text that I don't want affected by the tag. Is there a tag that specifically ends the Show/Hide region???

posts: 80 Austria

> Hi folks,
>
> I'm having troubles with the Show/Hide tag. Whenever I use it, it always seems to include areas of text that I don't want affected by the tag. Is there a tag that specifically ends the Show/Hide region???
Show hide usually hides the complete header level:

This would hide all test for h3
Copy to clipboard
!h1 text1 !!h2 text2 !!-h3 text3 !!h4 text4

Example:


h1

text1

h2

text2

h3

[+]

h4

text4



posts: 101

Ok, that has helped alot!

I have another question now, though. Is there any way to have a Hide/Show section in the Table of Contents for a page? I have a topic that has a large number of subtopics, and would like to hide them so the user (at first) only sees the top-level topics...


posts: 80 Austria

You would have to modify the parser for this, since { maketoc } is a syntax element, and this would be permanent for all TOCs since syntax elements do no support parameters.