is there a way to configure line breaks in markaby output?

Dave Everitt deveritt at innotts.co.uk
Mon Nov 2 16:42:42 EST 2009


Yes, it can be a bugbear.

It's a bit 'non-lazy' but I just tend to add newlines with Markaby's  
'text':

def index
   h1 'My Site'
   text("\n\n")
   p 'Welcome to my site!'
end

  - DaveE

> Is there anyway that I can configure Markaby to add line breaks
> between block elements so I'd get something like this:
>
> <h1>My Site</h1>
>
> <p>Welcome to my site!</p>



More information about the Camping-list mailing list