plugin:explain
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:explain [2017-06-13 23:50] – version upped andi | plugin:explain [2024-01-08 16:01] (current) – Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : syntax | type : syntax | ||
- | lastupdate : 2017-06-12 | + | lastupdate : 2019-01-23 |
compatible : | compatible : | ||
depends | depends | ||
Line 19: | Line 19: | ||
Just like for the acronyms you can define a file containing a table which declares terms, a short explanation and two links to a longer definition. This automatically works for all those terms in the whole wiki. | Just like for the acronyms you can define a file containing a table which declares terms, a short explanation and two links to a longer definition. This automatically works for all those terms in the whole wiki. | ||
+ | |||
+ | [[https:// | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | [[http:// | ||
- | Download | + | Search |
===== Syntax ===== | ===== Syntax ===== | ||
Line 85: | Line 86: | ||
Edward Barker | Edward Barker | ||
- | ---- | + | ==== Edit the conf/explain.conf File as a Dokuwiki Page via Symlink ==== |
- | Base on the style of plugins, I have changed the CSS to plugins/explain/style.css as below: | + | |
- | <code css> | + | The file can be [[https:// |
- | div.dokuwiki a.explain { | + | |
- | color: __black__; | + | The TAB character can't be used for editing within the browser, as it just skips to the next field. |
- | border-bottom: 1px dotted __black__; | + | Thanks to https:// |
- | padding-top: 0; | + | Instead of the CSV code below, I chose to use 4 whitespace characters as the delimiter, by changing line 53 from:\\ |
- | } | + | $parts = explode(" |
- | + | to: | |
- | div.dokuwiki | + | $parts = explode(" |
- | background-color: __light__; | + | |
- | } | + | |
- | </code> | + | |
- | I have also changed the code a little bit to use comma separated instead of TAB separated s.t. the file can be soft linked to the pages and edit via dokuwiki, just like the hint for the standard acronyms.conf editing. | + | |
+ | Which is a lot easier than the CSV code below. | ||
<code php> | <code php> | ||
<?php | <?php | ||
Line 220: | Line 218: | ||
</ | </ | ||
+ | Base on the style of plugins, I have changed the CSS to plugins/ | ||
+ | <code css> | ||
+ | div.dokuwiki a.explain { | ||
+ | color: __black__; | ||
+ | border-bottom: | ||
+ | padding-top: | ||
+ | } | ||
+ | | ||
+ | div.dokuwiki a.explain: | ||
+ | background-color: | ||
+ | } | ||
+ | </ | ||
- | Ken Cheung 2007-04-30 | + | Ken Cheung 2007-04-30\\ |
+ | Marcos Reyes 2019-08-01 | ||
==== regular expressions ==== | ==== regular expressions ==== | ||
Line 361: | Line 372: | ||
-- Alois Hockenschlohe, | -- Alois Hockenschlohe, | ||
+ | |||
+ | ==== Ignore this Word ==== | ||
+ | |||
+ | I love the plugin, thank you! One question, or maybe it's a request... Some terms may be used in the ' | ||
+ | |||
+ | [[user> | ||
+ | |||
+ | |||
+ |
plugin/explain.1497390635.txt.gz · Last modified: 2017-06-13 23:50 by andi