pebble / cloudpebble

CloudPebble source. Here be dragons.
https://cloudpebble.net/
MIT License
211 stars 83 forks source link

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

Open electrotype opened 8 years ago

electrotype commented 8 years ago

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?

Katharine commented 8 years ago

I think you may have the wrong project? I have no idea what you're talking about.

electrotype commented 8 years ago

Oh crap, I'm very sorry!