MuhammaraJS icon indicating copy to clipboard operation
MuhammaraJS copied to clipboard

Is there a multi-line support for text?

Open jaylee79 opened this issue 2 years ago • 1 comments

I couldn't find any information on it

jaylee79 avatar Apr 28 '22 21:04 jaylee79

No there isn't. I once wrote a multi line multi page function in a private repository using this.

Maybe I could extract this and publish it.the nature of writing text onto a pdf does not really support that.

julianhille avatar Apr 29 '22 06:04 julianhille

Question: what do you mean with multi -line support? is it autobreak on "no space left" or do you want to see that "\n" gets auto wrapped?

julianhille avatar Mar 02 '23 13:03 julianhille

Was originally thinking \n getting the new line.

On Thu, Mar 2, 2023 at 8:55 AM Julian Hille @.***> wrote:

Question: what do you mean with multi -line support? is it autobreak on "no space left" or do you want to see that "\n" gets auto wrapped?

— Reply to this email directly, view it on GitHub https://github.com/julianhille/MuhammaraJS/issues/153#issuecomment-1451902207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4OKDRMGTRHJJIC2O3FABTW2CREFANCNFSM5UTYUTHA . You are receiving this because you authored the thread.Message ID: @.***>

jaylee79 avatar Mar 03 '23 10:03 jaylee79

This should work using the Recipe class, which got added through merging hummus recipe into this package.

julianhille avatar Mar 03 '23 19:03 julianhille

You can add \n there OR use html to write your text.

I'm going to close this for now, but feel free to reopen if this still is an issue for you.

julianhille avatar Mar 29 '23 13:03 julianhille