I generate a PDF file using Prawn and the Prawnto plugin in my rails application.
I create a standard form with a standard textarea, and submit that as the body of the PDF file.
However, I need to be able to format words and sentences with:
- bold
- underline
- maybe different type sizes
I want to be able to do it from within the textarea input box. Right now, because I use prawnto, I basically am genering a view which outputs what is in the textarea.
But if I put, say, bold in the text area, it doesn't format, it just renders.
How do I do this?