Matt Huszagh <huszaghm...@gmail.com> writes: > + ;; We deliberately do not insert a newline here since there are > + ;; valid cases in which a user does not want a blank line between a > + ;; results block and the subsequent text. > (beginning-of-line 0) > (when hash (org-babel-hide-hash)))
Thanks for the patch! And sorry for the late reply. Your explanation is quite confusing, but I think I managed to understand what you referred to: ------ We can write the simplest equation as #+begin_src latex :exports results \begin{equation} 1 + 1 = 2, \end{equation} #+end_src the paragraph should continue here. -------- will be exported as ------ We can write the simplest equation as \begin{equation} 1 + 1 = 2, \end{equation} the paragraph should continue here. ------ Note the extra empty line below equation environment. However, I am not confident if the proposed change is going to be safe for other uses of src blocks. I'd like to request other people who use export and source blocks extensively to try the patch and see if it breaks anything. Meanwhile, could you please reword the commit message and make it more concise and clear? Best, Ihor