[pmwiki-users] capital first letters
Christian Schlatter
ch at schlatter.net
Thu Jun 30 07:34:36 CDT 2005
Joachim Durchholz wrote:
> Finally, there's an inconvenience: the resulting HTML will have this
> structure:
> <p><span class='initial-cap'>H</span>ere goes.</p>
> There's a pseudoclass .initial-char or something that applies a style
> just to the first character in a paragraph. If we could make PmWiki
> generate something like
> <p class='initial-cap'>Here goes.</p>
> you could set up a .css file that said something like
> .initial-cap:initial-char {your-style-goes-here;}
> (I probably got all the syntax horribly incorrect and am too lazy to
> look it all up, but this should get you started).
One possibility to achieve that would be to use a WikiStyle directive, e.g.
%p class="initial-cap"%This is a paragraph with class initial-cap.
-ChristianS
More information about the pmwiki-users
mailing list