create_text function

Create text content