How to view notes created in terminal app?

Hi, I would like to know if there is a way to view/render the notes created in terminal app, like you can in he gui app or how to export to pdf and view it like that. (I don’t mind if it’s external program.)