Learn about DokuWiki
Learn about DokuWiki
Compatible with DokuWiki
If there are wiki syntax of bold, italic, underlined, or monospaced text remaining (such as those in headers and link texts), this plugin will apply them. You can also change color of characters in headers and link texts. Characters of nowiki syntax won't be changed.
We made this plugin to enable styling headers by wiki syntax (bold, italic, underlined, monospaced, and colored text).
Currently wiki syntax in headers is not allowed (See this faq). This plugin will solve this inconvenience a little.
You can also use the syntax in link texts.
The script won't run if the URL includes “do=admin”.
Write like this:
==== **Styling** //headers// ''is'' __fun!__ ==== === $[hdcolor $\red$\$]You can$[/hdcolor$] $[hdcolor $\#800000$\$]color texts!$[/hdcolor$] === [[pagename|**You can** //also// __style__ link texts!!]]
In headers and link texts (and maybe somewhere else):
**Bold** //Italic// __Underlined__ ''Monospaced'' (same to default DokuWiki syntax) $[hdcolor $\HTML color code$\$]Coloring texts$[/hdcolor$]
\// will be
:// won't be converted.
There is a problem when this plugin is used: lists of URLs are corrupted. See https://forum.dokuwiki.org/post/64204;nocount for my first report of this. In essence the plugin converts
http:<i> or the closing form.
Thank you for your report. I'll investigate the issue and attempt to fix it. — hokkaidoperson 2019-01-08 15:07
I tried copying pcnt.php to http.php and editing the latter. I changed the class name accordingly but had no success in getting it to recognise 'https?:' for the start and '\s' for the end of a URL. — MartinR 2019-01-09 09:54
Similar to the above, I have found that using this plugin makes footnote syntax stop working; the double underscore in footnote anchors get converted to
— ThomasMcA 2019-10-26 14:31
This does not work in Greebo in Win10. Your sample code gets rendered thusly:
**Styling** //headers// ''is'' __fun!__
When I test it with this:
==== $[hdcolor $\yellow$\$]XXXXXXXXXXXXX $[/hdcolor$]====
It looks like this:
$[hdcolor $\yellow$\$]XXXXXXXXXXXXX $[/hdcolor$]
On a Linux host running Greebo, the above test gets correctly rendered.