Skip to content

Handling text with newlines #71

@TheNeikos

Description

@TheNeikos

I would like to use pretty to print text that comes from users. The problem is that it will contain new lines. What would be the preferred way of using it here? Should I simply break up the string myself on newlines and add each seperately with Doc::text?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions