Skip to content

Indent paragraphs book-style in epubs. #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
HalCanary opened this issue Nov 23, 2021 · 1 comment
Open

Indent paragraphs book-style in epubs. #21

HalCanary opened this issue Nov 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@HalCanary
Copy link

This can be accomplished in CSS with the following:

p{
text-indent:1.25em;
margin-top:0;
margin-bottom:0;
}

This makes reading long fiction easier since it will require fewer page turns.

It may be necessary to replace pairs of <br> tags with paragraphs.

@iridescent-beacon iridescent-beacon added the enhancement New feature or request label Jan 20, 2022
@iridescent-beacon
Copy link
Member

I've been rolling the idea around of having multiple pre-defined style options with the ability to write css directly for more advanced users which would solve this issue.

I'll take a look at what some other epub generators do, and if most of them use style like you're suggesting I may change the default.

Appreciate the suggestion! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants