prawn
prawn copied to clipboard
Add option `:indented_paragraphs` to `formatted_text_box`
Is there a reason that the option :indented_paragraphs
is not supported by formatted_text_box
besides nobody implemented it yet?
I'm fairly sure it's only supported at the text()
call level (so it doesn't work for text_box
either). There isn't a philosophical reason why we'd want to prevent indented paragraphs using these lower level calls, so you can look into a patch. If it wasn't too complicated, we'd consider merging a change for this.
That said, there really needs to be some major rethinking into the text APIs. The fact that we have so many different entry point is a problem that needs solving, and I'm hesitant to introduce too many changes until we do.