toooooooby / pukiwiki-size_em-plugin

size_em plugin for Pukiwiki

This URL has Read+Write access

toooooooby (author)
Wed Oct 14 22:41:53 -0700 2009
commit  348860b73eab501eea653e2f2034f536fd817b41
tree    400b4a64220a8fa38f93c1d0c3c6b97c84c30ec0
parent  1ec6d53e2ce4d9867fb07a8ac40e8a18019acda0
name age message
file readme.txt Loading commit data...
file size_em.inc.php
readme.txt
* size_em plugin for Pukiwiki

- http://github.com/toooooooby/pukiwiki-size_em-plugin

** DESCRIPTION:

size_em plugin for Pukiwiki

size.inc.php use "px". 
ex. "font-size:2px".
But this size_em.inc.php use "em". 
ex. "font-size:2em"

** FEATURES/PROBLEMS:

*** using with inline

&size_em(2){test test}; 

 to 

<span style="font-size:2em;display:inline-block;line-height:100%;text-indent:0px">test test</span>

** TODO

*** using with block
#size_em(2){{
test
test
}}

 to 

<div style="font-size:2em">
test
test
</div>


** license

GPL v2

and Copyright (c) 2009 TOBY