Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
playground:hiding_content [2017/02/07 18:40] tmomasplayground:hiding_content [2018/01/20 11:42] – Hidden content inside un-/ordered lists added tmomas
Line 2: Line 2:
  
 ===== What is working and what is not ===== ===== What is working and what is not =====
-^ plugin     ^  code  ^  wrap  ^  headings  ^  formatting  ^  bullets  ^  ordered lists  ^ +^ plugin                                                  ^  code  ^  wrap  ^  headings  ^  formatting  ^  bullets  ^  ordered lists  ^ inside ul   ^ inside ul w/ wrap   
-^ folded     |   no     no       no         yes      |    yes    |       yes       | +[[https://www.dokuwiki.org/plugin:folded|folded]]       |   no     no       no         yes      |    yes    |       yes       |  unaligned  |       aligned       | 
-^ hidden     |  yes    yes       no         yes      |    yes    |       yes       | +[[https://www.dokuwiki.org/plugin:hidden|hidden]]       |  yes    yes       no         yes      |    yes    |       yes       |  unaligned  |       aligned       | 
-^ outliner    yes    yes       no         yes      |    yes    |       yes       |+[[https://www.dokuwiki.org/plugin:outliner|outliner]]   |  yes    yes       no         yes      |    yes    |       yes       |  unaligned  |       aligned       |
  
 **My favourite:** hidden plugin. --- //[[tmo26@gmx.de|tmomas]] 2016/11/01 21:08// **My favourite:** hidden plugin. --- //[[tmo26@gmx.de|tmomas]] 2016/11/01 21:08//
Line 11: Line 11:
  
 ===== Examples ===== ===== Examples =====
 +==== Hidden content inside un-/ordered lists ====
 +
 +  * Run the following commands to modify ''/etc/config/network'' (folded plugin):\\ <code>
 +uci set network.vpnserver='interface'
 +uci set network.vpnserver.proto='none'
 +uci set network.vpnserver.ifname='ovpns0'
 +uci set network.vpnserver.auto='1'
 +uci commit network</code><WRAP>
 +++++ Modified part of /etc/config/network | 
 +<code>
 +config interface 'vpnserver'
 +  option proto 'none'
 +  option ifname 'ovpns0'
 +  option auto '1'
 +</code>
 +++++
 +</WRAP>
 +  * Run the following commands to modify ''/etc/config/network'' (hidden plugin):\\ <code>
 +uci set network.vpnserver='interface'
 +uci set network.vpnserver.proto='none'
 +uci set network.vpnserver.ifname='ovpns0'
 +uci set network.vpnserver.auto='1'
 +uci commit network</code><WRAP>
 +<hidden onHidden="Modified part of /etc/config/network" onVisible="Hide" edit="any edit text"> 
 +<code>
 +config interface 'vpnserver'
 +  option proto 'none'
 +  option ifname 'ovpns0'
 +  option auto '1'
 +</code>
 +</hidden>
 +</WRAP>
 +  * Run the following commands to modify ''/etc/config/network'' (outliner plugin):\\ <code>
 +uci set network.vpnserver='interface'
 +uci set network.vpnserver.proto='none'
 +uci set network.vpnserver.ifname='ovpns0'
 +uci set network.vpnserver.auto='1'
 +uci commit network</code><WRAP>
 +-->Modified part of /etc/config/network#
 +<code>
 +config interface 'vpnserver'
 +  option proto 'none'
 +  option ifname 'ovpns0'
 +  option auto '1'
 +</code>
 +<--
 +</WRAP>
 +
 +==== Formatting inside hidden content ====
 +
  
 ++++ Bootlog | Folded plugin -> https://www.dokuwiki.org/plugin:folded\\ ++++ Bootlog | Folded plugin -> https://www.dokuwiki.org/plugin:folded\\
Line 35: Line 85:
   * **Formatting** //is working// __also__ ''(at least <del>in this</del> example)''   * **Formatting** //is working// __also__ ''(at least <del>in this</del> example)''
   * Doesn't work with section headings: Section headings and following content are always displayed.   * Doesn't work with section headings: Section headings and following content are always displayed.
-  * **Does work** with %%<code>%% tags and or %%<WRAP>%% :)+  * **Does work** with %%<code>%% tags and %%<WRAP>%% :)
  
   - Ordered List Item   - Ordered List Item
Line 221: Line 271:
   * **Formatting** //is working// __also__ ''(at least <del>in this</del> example)''   * **Formatting** //is working// __also__ ''(at least <del>in this</del> example)''
   * Doesn't work with section headings: Section headings and following content are always displayed.   * Doesn't work with section headings: Section headings and following content are always displayed.
-  * **Does work** with %%<code>%% tags and or %%<WRAP>%% :)+  * **Does work** with %%<code>%% tags and %%<WRAP>%% :)
  
   - Ordered List Item   - Ordered List Item
  • Last modified: 2018/01/20 12:38
  • by tmomas