[pmwiki-users] How to get a special character - a black triangle

Patrick R. Michaud pmichaud at pobox.com
Mon Jan 5 10:31:26 CST 2009


On Mon, Jan 05, 2009 at 03:22:38AM -0600, Randy Brown wrote:
> How do I make a black down-pointing triangle appear?
> 
> I know how to get a checkmark: I just put in my config.php:
> $FmtPV['$Checkmark'] = "'✓'";
> 
> and then use this markup: {$Checkmark}
> 
> Apparently I can't just substitute the hex unicode (0X25BC) to get the  
> triangle.


Why not just put ✓ directly in the markup?  
(Granted, {$Checkmark} might read a little better.)

Using the hex code works in markup also, but requires a 
leading 'x':  ▼

(Both the &#nnnn; and &#xnnnn; markups come directly from the HTML
equivalents.)

Pm




More information about the pmwiki-users mailing list