I would like to write a function that pretty-prints the current source code block into a PDF. I know I can use ps-print-region-with-faces, but it would require that I first select the source code block.
Is there a function in org to do this selection?
thank you in advance
the answer is org-babel-mark-block (answered by bertfred in a comment)
org-mark-element selects the block but also selects the BEGIN_ END_ markers.