This is an old revision of the document!
Table of Contents
hide plugin
Compatible with DokuWiki
No compatibility info given!
The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to hidden, stepbystep, togglewrap, wrap
Hide is a plugin for DokuWiki that does something as simple as hiding text. The way it does is different from plugins such as Hidden, in that Hide does not create a specific section or uses programming to “hide”1), but rather simply uses CSS to “hide”2), the selected content.
The effect is similar to that achieved with the spoilers in sites such as TV Tropes3), for example.
Syntax
Just surround the text to be hidden with {? and ?}, like this:
I shouldn't tell you, but my secret identity is {?Super DokuWiki Plugin Developer Sidekick Man?}.
Download and Installation
Point the Plugin Manager to the following URL: dw-plugin-hide-latest.zip, which always points to the latest available version.
Other Details
Demo
Demo site for the plugin. Note language is Spanish but online translators should do a good job with it.
The plugin “Hide” in effect. Note how the hidden text can be made visible by selecting it with a pointer. |
Known Limitations
Right now (2009-08-01
), the plugin is not guaranteed to hide text in the following page constructs, due to the CSS they use being different:
The plugin “Hide” in effect, this time hiding links. Take note that interwiki icons are also removed. |
The plugin “Hide” in effect, this time in a table header. See the section on Known Limitations. |
Other Developments
Other Plugins by Luis Machuca B.: | plugin:progrecss plugin:tooltip plugin:clock plugin:divalign2 plugin:gil |
---|
Discussion
Leave your 's here and I'll try to provide some 's. – — Luis Machuca B. 2009/08/01 21:38
I can hide some text (without hide, hidden or hidetext plugin) allowing embedded HTML in Dokuwiki Configuration Manager, and using this code
<html><!-- ..text.. --></html>
Under the same logic all of the plugins can be avoided by writing the resulting HTML code directly, no? Sorry, that logic doesn't apply that much, and if that was the issue you'd left the comment on the plugin:wrap page rather than here. Besides, there are different mechanisms for hiding stuff. The one this plugin implements only hides the text from the visual, but it is still here–ifauth
and other plugins will actually remove it from the rendered page, and so on. Plus a short tag is easier, and allowing HTML in a wiki has other consequences. Long story short, plugins are conveniences. — Luis 2010/03/11 18:42