Paweł Piekarski | 2011/02/16
Sometimes there is need for nice looking slogan, quotation or article paragraph. For full control you need full control over font displaing as CSS can give. Typography plugin extends DokuWiki markup by typesetting abilities. It brings all font related directives from CSS as wiki syntax.
Typography is syntax plugin. Currently it covers all typographic aspects of CSS.
It gives ability to adjust settings for text look, but does not influence subtle stuff like text baseline or vertical alignment.
That piece of software is not maintained anymore. Anyhow I'll fix any bugs reported.
Plugin is provided as it is, witout any warranty. Licensed on LGPL.
Pixel unit does not allow you to use decimal part, so 20px is accepted but 20.5px is not.
Due to text-height css property handling when element has children in document tree, this sometimes can behave not as precise as you wish to.
Syntax is XML like
<typo parameters>beatifull looking test</typo>
where parameters are semicolon separated
Have in mind there is no space after colon and do not forget about semicolon.
Currently supported units: px, em, ex, pt, %
|font family||<typo ff:Coma separated, font famliy names,
can contain spaces;>Text</typo>
|font variant||<typo fv:smallcaps;>Text</typo>||only "smallcaps" value allowed|
|font size||<typo fs:20px;>Text</typo>||values below zero not allowed|
|line height||<typo lh:20px;>Text</typo>||values below zero not allowed|
|letter spacing||<typo ls:20px;>Text</typo>||values below zero allowed|
|spacing between word||<typo ws:20px;>Text</typo>||values below zero allowed|
Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma - which is living with the results of other people's thinking. Don't let the noise of other's opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary. — Steve Jobs
If you are going through hell, keep going.
— Winston Churchill
If not stated otherwise all rights reserved. | Produly using Apolonia typeface. | Credits