`pn.text_executable`! That's exactly what I was looking for.