[pmwiki-users] PmSyntax

Petko Yotov 5ko at 5ko.fr
Fri Nov 4 00:00:31 PDT 2022


On 03/11/2022 22:36, Petko Yotov wrote:
>   #wikiedit #hwrap textarea#text, #wikiedit #htext {
>     --pmsyntax-fontsize: 125%;
>   }

Rethinking about this, for the edit textarea and the block under it, it 
will be better to use a size in pixels, than in relative units like %, 
em, ex. In fact, some website designs have different base sizes for a 
textarea and for div text, which will misalign them.

On a saved page, in the documentation and with inline highlighted 
markup, the font size should be relative to the paragraph/block size. 
For example, code in a heading may need to be larger than code in 
regular text, or in a small text like the Site.EditQuickReference page.

I'll have to split the font size definition into 2, one for the edit 
form, the other for the page text.

Petko



More information about the pmwiki-users mailing list