DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nodisp

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:nodisp [2021-07-29 17:13] – [Newline syntax] turnermmplugin:nodisp [2023-10-30 23:24] (current) Klap-in
Line 6: Line 6:
 email      : turnermm02@shaw.ca  email      : turnermm02@shaw.ca 
 type       : syntax type       : syntax
-lastupdate : 2021-07-29 +lastupdate : 2022-09-14 
-compatible : 2009-02-14lemminganteaterrincewindanguaadora bellehrun, Elenor Of Tsort, detritusfrusterick mannersgreebohogfather+compatible : Lemming, Anteater, Rincewind, AnguaAdora BelleWeatherwaxBinkyPonder StibbonsHrunDetritus, Elenor of Tsort, Frusterick MannersGreeboHogfatherIgor
 depends    :  depends    : 
 conflicts  conflicts 
Line 78: Line 78:
 {/nodisp} {/nodisp}
 </code> </code>
-The ''<nodisp. . . >'' syntax sets off blocks of text.  This syntax treats the enclosed text as a single line unless an extra newline (CR/LF) or the DokuWiki newline markup is inserted. This conforms to the practice of the DokuWiki editor. See https://github.com/turnermm/nodisp/issues/3+The ''<nodisp. . . >'' syntax sets off blocks of text. If you place two blocks, one after the other, there will be a paragraph break between the two.  The newline syntax treats the enclosed text as a single line unless an extra newline (CR/LF) or the DokuWiki newline markup is inserted. This conforms to the practice of the DokuWiki editor. If you place one newline entry above another, they will continue on the same line unless a newline is inserted. See https://github.com/turnermm/nodisp/issues/3
  
 If you are upgrading from an earlier version of nodisp, which does not support the newline syntax, you will have to remove the file syntax.php from the root directory of the plugin.  This is now replaced by a new file called basic.php in the syntax directory.  If you are upgrading from an earlier version of nodisp, which does not support the newline syntax, you will have to remove the file syntax.php from the root directory of the plugin.  This is now replaced by a new file called basic.php in the syntax directory. 
 +
 +==== Group Syntax ====
 +It is also possible to limit access to the hidden material by group. The syntax is the same as for the other cases, except that ACL numbers are replaced by a group names. 
 +
 +<code>
 +<nodisp group>
 +Restricted Data
 +</nodisp>
 +
 +{nodisp group}Restricted Data{/nodisp} 
 +</code> 
 +
 +**Notice:** The group name does not use the at-sign; it is ''group'', not ''@group''.  
 ===== Development ===== ===== Development =====
  
plugin/nodisp.1627571588.txt.gz · Last modified: 2021-07-29 17:13 by turnermm

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki