Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.

Insert newlines when exporting html #105

Open
casouri opened this issue Jun 17, 2021 · 2 comments
Open

Insert newlines when exporting html #105

casouri opened this issue Jun 17, 2021 · 2 comments

Comments

@casouri
Copy link

casouri commented Jun 17, 2021

By default, ->html generates a single line of HTML. Is there any way to insert newlines before & after tags?

I should add that I use decode-paragraphs for post-processing so hard-coded newlines are processed out IIUC.

@otherjoel
Copy link

In the past I've built sites with a makefile that runs the output through tidy after Pollen has generated it. (example)

You might also try rolling your own ->html function that composes display-xml/content within with-output-to-file.

@casouri
Copy link
Author

casouri commented Jun 17, 2021

Thanks, tidy is really handy. It probably does the job way better than what I could've come up with so I'll use that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants