emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: export org tables to html, configure the borders


From: Kyle Meyer
Subject: Re: export org tables to html, configure the borders
Date: Thu, 26 Mar 2020 03:07:07 +0000

Uwe Brauer <address@hidden> writes:

> The standard setting of 
> org-html-table-default-attributes 
>
> is 
> (:border "2" :cellspacing "0" :cellpadding "6" :rules "groups" :frame 
> "hsides")
>
> Which does not insert the borders.
>
> However the setting 
> (:border "2" :cellspacing "0" :cellpadding "6" :frame "border" :rules "all")
>
> Inserts borders but to many of them, each line gets a horizontal
> border, which I don't want.
>
>     1. What is the correct setting

I don't know, though AFAICS by trying out the possible values [^0], I
think something more involved than using the :rules attribute would be
needed.

^0: https://www.w3schools.com/tags/att_table_rules.asp

>     2. How can I have such a setting locally just for one table?

You can place something like this before the table:

    #+ATTR_HTML: :rules all



reply via email to

[Prev in Thread] Current Thread [Next in Thread]