On Tue, Nov 24 2020, Diego Zamboni wrote: > And even (a bit) shorter: > > #+html:<div class="myclass"> > #+BEGIN_SRC python > print(5) > #+END_SRC > #+html:</div>
Thanks everyone for your suggestions. I tried this one and it works great. =myclass= of course ends up containing the =src= class, but as I just found out, that's not a problem. -- Joost Kremers Life has its moments