Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 30-Apr-2025 | - | ||||
images/ | H | 20-Oct-2022 | - | |||
README.md | H A D | 19-Oct-2022 | 1,004 | 19 | 12 | |
plugin.info.txt | H A D | 19-Oct-2022 | 204 | 8 | 7 | |
script.js | H A D | 19-Oct-2022 | 2.6 KiB | 91 | 87 | |
syntax.php | H A D | 19-Oct-2022 | 3.8 KiB | 116 | 81 |
README.md
1# color Plugin 2 3This is a plugin for [dokuwiki](https://www.dokuwiki.org/start).. 4 5See the plugin [homepage](https://www.dokuwiki.org/plugin:color) for detailed documentation. Here we provide a brief summary of the required syntax: 6 7``` 8<color ⟨fg color⟩[/⟨bg color⟩[/⟨ignored text⟩]]>⟨text⟩</color> 9<color ⟨fg color⟩:⟨bg color⟩[:⟨ignored text⟩]>⟨text⟩</color> 10``` 11 12- Square brackets indicates optional parts. 13 14- `⟨fg color⟩` and `⟨bg color⟩` are CSS color specifications. Either one may be empty, in which case it is ignored. 15 16- In the first syntax, the color specification(s) MUST NOT include a slash (`/`). 17- In the second syntax, the color specification(s) MUST NOT include a colon character (`:`). We do not know any legal CSS color specification that does include a colon, nor do we anticipate that one will appear in the future. 18- The resulting HTML is a `<span>` element containing `⟨text⟩`, colorized with the given foreground and background colors. 19