DropCap ideas wanted...and general markup plugin questions

Creating and modifying plugins.
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: DropCap ideas wanted...and general markup plugin questio

Post by garvinhicking »

RobA, yes I think a plugin like BBCode would be suited best for this thing, so I agree to put that functionality there.

Does, BTW, CSS not support something like a DropCap attribute? It at least has the support for large caps, so just a thought...

The s9y markup plugin does indeed not offer any extra functionality that is not part in other markups. In fact it is mostly use to enclodes words with "*" or "_" to underline/bold the text. It is very restricted, but some people got used to it.

I for one would rather suggest to enhance the BBCode plugin or provide its own plugin for that effect...

You could also use the content_rewrite stuff, that is true. But many people do not seem to get a hold of configuring that plugin properly; if you work it out for yourself... I must admit I've never tried to use the content_rewrite stuff for anything than to replace hardcoded strings; if you want it to replace generic strings I'm not really sure if it would work out.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Chindogu
Regular
Posts: 6
Joined: Wed Jun 01, 2005 8:04 pm
Location: Vancouver, BC
Contact:

Post by Chindogu »

Hi, I've got a drop cap solution that works great.

In my CSS I have this set up:
.dropcap {
float: left;
width: .8em;
font-size: 4em;
line-height: 83%;
}
And for whichever letter I want affected I put this code around it:
<span class="dropcap"></span>
You can check an example at my site: http://www.chindogu.ca

Chindogu
Post Reply