plugin:explain
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:explain [2016-01-03 07:24] – Aleksandr | plugin:explain [2020-12-03 10:57] – [Very simple ODT-Plugin support] tech@tormantil.com | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Explain a Term ====== | + | ====== Explain a Term Plugin |
---- plugin ---- | ---- plugin ---- | ||
Line 6: | Line 6: | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : syntax | type : syntax | ||
- | lastupdate : 2015-02-26 | + | lastupdate : 2019-01-23 |
compatible : | compatible : | ||
depends | depends | ||
Line 21: | Line 21: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | [[http:// | + | [[https:// |
- | Download | + | Search |
===== Syntax ===== | ===== Syntax ===== | ||
Line 37: | Line 37: | ||
* "// | * "// | ||
- | // | + | // |
===== Example ===== | ===== Example ===== | ||
Line 85: | Line 85: | ||
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 217: | ||
</ | </ | ||
+ | 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 357: | Line 367: | ||
} | } | ||
return false; | return false; | ||
- | } | + | |
</ | </ | ||
-- 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.txt · Last modified: 2024-01-08 16:01 by Aleksandr