Yaroslav Drachov <[email protected]> writes:

> #+header: :headers '("\\usepackage{tikz}")
> #+begin_src latex :file tree.svg :exports results :results raw file
>   \usetikzlibrary{trees}
>   \begin{tikzpicture}
>     \node [circle, draw, fill=red!20] at (0,0) {1}
>     child { node [circle, draw, fill=blue!30] {2}
>       child { node [circle, draw, fill=green!30] {3} }
>       child { node [circle, draw, fill=yellow!30] {4} }}; 
>   \end{tikzpicture}
> #+end_src

This works on the merged version on main.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to