Skip to content

Configuration to keep the first newline after a pebble tag  #327

Description

@electrotype

Is there a reason why the first newline after a pebble tag is ignored? I guess it has something to do with HTML, but I'd like to use Pebble as a templating engine for other formats than HTML.

Let's say I have a template which is :

{{param1}}
{{param2}}

How can I make Pebble generate :

val1
val2

As is, with the newline?
Is there a configuration to keep the first newline after a pebble tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions