Alex,

The conclusion of my investigation is

1) tables created in wiki syntax must be different from the tables that are not 
user created
    → adding a class="wiki" to their html should be enough
2) to make sure that the CSS applies only to such tables the CSS should be 
modified this way:

            /* Table styles */
→           table.wiki, table.wiki td {
            border-collapse: collapse;
            border: 1px midnightblue solid;
            padding: 3px;
            }

I'm sorry I'm not proficient enough in picolisp yet to provide a solution.

I tried:

("%"  # Table
   (let Nm (till "}" T)
      (prin "<table class=\"wiki\">")
      (ht:Prin Nm)
      (prin "</table>" ) ) )

but the result is not at all what I expected :)

Sorry for the hassle.

Jean-Christophe 

> On Jan 4, 2019, at 1:06, Alexander Burger <[email protected]> wrote:
> 
> On Thu, Jan 03, 2019 at 09:38:04PM +0900, Jean-Christophe Helary wrote:
>> Here is the diff for a very simple css for the table.
>> Basically just this:
>> 
>> /* Table styles */
>> table,td {
>>    border-collapse: collapse;
>>    border: 1px midnightblue solid;
>>    padding: 3px;
>> }
> 
> Cool, that's easy! :)
> 
> Released and installed.
> ☺/ A!ex
> 
> -- 
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


Reply via email to