plugin:commentsyntax
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | plugin:commentsyntax [2019-11-28 14:20] – [Comment Syntax Plugin] s.sahara | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Comment Syntax Plugin ====== | ||
+ | ---- plugin ---- | ||
+ | description: | ||
+ | author | ||
+ | email : sahara.satoshi@gmail.com | ||
+ | type : syntax | ||
+ | lastupdate : 2019-11-28 | ||
+ | compatible : Ponder Stibbons, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners, Greebo+ | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : comment | ||
+ | |||
+ | downloadurl: | ||
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img : | ||
+ | ---- | ||
+ | |||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Search and install the plugin using the [[plugin: | ||
+ | |||
+ | ===== Feature ===== | ||
+ | |||
+ | The **Comment Syntax** plugin brings a CSS-like comment syntax to your DokuWiki. The comment is not shown in the page, but visible when you edit the page. | ||
+ | |||
+ | Comments are used to explain your [[: | ||
+ | |||
+ | ===== Examples/ | ||
+ | |||
+ | ==== 1. ' | ||
+ | ' | ||
+ | |||
+ | /* This is a comment */ | ||
+ | |||
+ | /* This is | ||
+ | a multi-line | ||
+ | comment */ | ||
+ | |||
+ | The **comment syntax** mode has priority to list block mode. You may comment-out some list item without breaking the whole list structure. | ||
+ | |||
+ | < | ||
+ | - item 1 /* A white space is necessary before comment-start markup */ | ||
+ | /*- item 2 will be eliminated from this list without breaking it */ | ||
+ | - item 3 /* will be numbered as 2 in the list */ | ||
+ | </ | ||
+ | - item 1 | ||
+ | - item 3 | ||
+ | |||
+ | Note that ' | ||
+ | /* There is an another comment /* in this comment */ (nested comment)*/ | ||
+ | |||
+ | ==== 2. one-line comment ==== | ||
+ | The " | ||
+ | < | ||
+ | * non-ordered list item // comment | ||
+ | </ | ||
+ | |||
+ | * non-ordered list item | ||
+ | |||
+ | < | ||
+ | - item 1 // A white space is necessary before One-line comment markup | ||
+ | //- item 2 will be eliminated from this list without breaking it | ||
+ | - item 3 // will be numbered as 2 in the list | ||
+ | </ | ||
+ | - item 1 | ||
+ | - item 3 | ||
+ | |||
+ | :!: **Adverse effect:** The one-line comment syntax '' | ||
+ | < | ||
+ | This text //in italics. | ||
+ | is rendered as normal // due to broken double-slash pairs | ||
+ | </ | ||
+ | |||
+ | This text is rendered as normal | ||
+ | |||
+ | ==== 3. Control Macro like Comments ==== | ||
+ | There are so-called [[wiki: | ||
+ | |||
+ | ~~ This is a comment without affecting other macros in the page. ~~ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Configuration and Settings ===== | ||
+ | |||
+ | ^ Config key ^ Description | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |||
+ | ===== Development ===== | ||
+ | |||
+ | === Change Log from github repository === | ||
+ | {{rss> | ||
+ | |||
+ | === ToDo/Wish List === | ||
+ | |||
+ | ===== FAQ ===== | ||
+ | === Different syntax patterns of similar plugins === | ||
+ | ^ plugin name ^ mode type ^ regular expressions | ||
+ | |[[plugin: | ||
+ | |[[plugin: | ||
+ | |commentsyntax | ||
+ | | ::: | ::: |exit pattern | ||
+ | | ::: | substition | ||
+ | | ::: | substition | ||
+ | |||
+ | |||
+ | ===== Known Bugs and Issues ===== | ||
+ | |||
+ | |||
+ | |||
+ | ===== Discussion ===== | ||
+ | |||
+ | Is there plans to fix the current issues? | ||
+ | |||
+ | > Which issues? There are none listed here nor in the bug tracker. --- [[user> |
plugin/commentsyntax.txt · Last modified: 2022-01-01 02:08 by s-sahara