construct_prompt_text function

Construct prompt text from a tidyprompt object