Hi everybody,
I'm new to DokuWiki, so perhaps one of the test-hiding plugins does make this possible, but I haven't found it yet.
Since I want to start a private programming wiki, there will be quite a few code blocks in my entries, some of them quite long. I know that it's possible to simply surround the code block with hide tags (or whatever the plugin's syntax is), but the other way around is, of course, impossible.
What I want to do is to create code blocks like this:
<code php foo.php>
<hidden>
...
</hidden>
</code>
That way, the file would still be downloadable while I could hide/unhide the code in the wiki entry as I want to.
Could anybody write a plugin to extend the syntax of code blocks in this way?
Sincerely,
Desh