Skip to content

Inserting StringBuilder valuesΒ #11

Closed
@michallepicki

Description

Currently the {{ name }} syntax can be used to insert String values into the template. To insert StringBuilder values, one must issue unnecessary string_builder.to_string calls.

I think it could be useful to allow inserting StringBuilder values (probably through new syntax?). This would translate to string_builder.append_builder calls instead of string_builder.append. Could be useful especially when composing multiple templates.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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