[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with https://orgmode.org/manual/Results-of-Evaluation.html
From: |
Ihor Radchenko |
Subject: |
Re: problem with https://orgmode.org/manual/Results-of-Evaluation.html |
Date: |
Mon, 15 Jan 2024 21:15:30 +0000 |
Uwe Brauer via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:
> #+NAME: many-cols
> | a | b | c |
> | d | e | f |
> | g | h | i |
>
> #+NAME: hline-please
> #+BEGIN_SRC python :var tab=many-cols :hlines yes
> return tab
> #+END_SRC
>
> #+RESULTS: hline-please
> | a | b | c |
> | d | e | f |
> | g | h | i |
>
> Works, but I also hoped that I could use python to add hlines to table
> without hline, but alas it does not work!
:hlines controls filtering ---- from input. It does nothing about code
block output.
More specifically, ":hlines no" takes care about removing hlines from
the input. ":hlines yes" does not perform any filtering.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>