[pmwiki-users] unicode-bidi
Piotr A. Dybczyński
piotr at dybczynski.pl
Sun Jan 28 10:50:57 CST 2018
Thanks a lot for your immediate help.
I have learned recently that using this style is helpful in presenting
e-mail addresses in a wiki page. Most robots cannot retrieve them.
Best,
Piotr
--
/**************************************************************************
dr Piotr A. Dybczyński
homepage: http://www.dybczynski.pl/Piotr e-mail: piotr at dybczynski.pl
********************************************************************PAD***/
W liście nadanym Sun, 28 Jan 2018 12:28:38 +0100 Petko Yotov <5ko at 5ko.fr>
pisze:
> Recent PmWiki versions have the "rtl" and "ltr" classes that can be also
> used as wikistyles, but in browsers these styles only override the text
> content and only inline "child nodes" of the element, but not block
> nodes like a paragraph. When you use a div block, sometimes PmWiki will
> wrap the internal content with <p> paragraph tags which are block child
> nodes.
>
> You can use in the wiki these:
>
> %p rtl% This paragraph will be reversed.
>
>
> I've added the child nodes to the core for the next version:
>
> .rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}
>
> If you add the same to your pmwiki/pub/css/local.css file, or if you
> upgrade to 2.2.107 in a few days, you should be able to use it in your
> wiki like this:
>
> >>rtl<<
> This block will be reversed.
> >><<
>
> or
> (:div class=rtl:)
> This block will be reversed.
> (:divend:)
>
>
> Petko
>
> On 28/01/2018 11:06, Piotr A. Dybczyński wrote:
> > Hi,
> >
> > is there a way to use unicode-bidi style inside a wiki-page?
> >
> > I expected that:
> >
> > (:div style="unicode-bidi: bidi-override; direction: rtl;":)
> > abcdef
> > (:divend:)
> >
> > will print 'fedcba' but it printed 'abcdef' at the right margin of the
> > page.
> >
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
__________ Information from ESET Mail Security, version of virus signature database 16811 (20180128) __________
The message was checked by ESET Mail Security.
http://www.eset.com
More information about the pmwiki-users
mailing list