XHTML5 Pretty Print
Posted: Fri Mar 22, 2013 11:20 pm
Hi,
I'm trying out some XHTML5 workflows, coming from DocBook. When I work in DocBook, the pretty print (Format and Indent) feature is incredibly helpful for navigating my documents. However, I'm struggling with the output of this same feature in XHTML5. Many block elements are being running together, rather than breaking to a new line as I'd expect from DocBook.
In my current document, XHTML elements such as <section>, <p>, etc all get run together.
EX: <section><p>Blah blah</p> <p>Blah so more.</p></section>
I've been searching for a way to customize this behavior to get the pretty print I'm used to, but I'm not having any luck. Is there a way to customize this?
I'm trying out some XHTML5 workflows, coming from DocBook. When I work in DocBook, the pretty print (Format and Indent) feature is incredibly helpful for navigating my documents. However, I'm struggling with the output of this same feature in XHTML5. Many block elements are being running together, rather than breaking to a new line as I'd expect from DocBook.
In my current document, XHTML elements such as <section>, <p>, etc all get run together.
EX: <section><p>Blah blah</p> <p>Blah so more.</p></section>
I've been searching for a way to customize this behavior to get the pretty print I'm used to, but I'm not having any luck. Is there a way to customize this?