Hi,
I am trying to produce a table with alignment cookies as in:
-----------------8><------------------
#+begin_src python :results value table replace
return [
['Key', 'Value'],
['<r>', '<l>'],
None,
['Foo', 24],
['Bar', 42],
]
#+end_src
-----------------8><------------------
Unfortunately the alignment cookies do not make it to the resulting table:
-----------------8><------------------
#+RESULTS:
| Key | Value |
|-----+-------|
| Foo | 24 |
| Bar | 42 |
-----------------8><------------------
I was able to find out that they get dropped in the function "orgtbl-to-
generic", around the line where the ":ignore-list" property is manipulated.
I wasn't able to figure out a way to tell it not to do so.
The variable "org-org-with-special-rows" is not in effect here.
As a workaround I am formatting the table on Python side and using ":results
raw".
Org mode version 9.7.34.
BR,
Martin