Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
Display headline in color
Avatar
mr_pepper #1
Member since Apr 2019 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Display headline in color
Hi together,

I would like to colourfully display a heading. Both do not seem to work in doku wiki.
I used the following code.

<color #22b14c>==== Themen ====

</color>

Output is the following: ==== Themen ====

Can anyone help me?
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4690 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
You can use the cssperpage plugin.   For instance, enclose your page in

~~cssp_openDIV~~

~~cssp_closeDIV~~

Then in your cssperpage/style.css:
#css_per_page.opencss     {
    h1,h2{
        background-color: yellow;
        color: blue;
        }
    }
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
This post was edited on 2019-04-23, 16:20 by turnermm.
Avatar
mr_pepper #3
Member since Apr 2019 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thank you very much for your advice. But the students have no CSS knowledge.
Is there another possibility?
Avatar
turnermm (Moderator) #4
Member since Oct 2009 · 4690 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I dont't believe you can do that in any other way.  Headlines in DW can't take markup.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Michaelsy #5
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
In reply to post #3
Try https://www.dokuwiki.org/plugin:wikiformatstyling
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-24, 00:17:30 (UTC +02:00)