Skip to content
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

Hanging indent for long lines #121

Open
hcayless opened this issue Dec 7, 2021 · 0 comments
Open

Hanging indent for long lines #121

hcayless opened this issue Dec 7, 2021 · 0 comments
Assignees

Comments

@hcayless
Copy link
Member

hcayless commented Dec 7, 2021

In order to get "proper" formatting for long lines in the HTML, that is, wrapping like:

This is a very long line that goes on past the container width
     and wraps around.

I think we would need to wrap lines in an element, such as a <span class="line">, which could then have the appropriate CSS applied to it. This is probably doable either as a post-processing step in the XSLT or using JavaScript running on the page (the latter might mean a visible reformatting of the text just after loading, so it might be better to do it in the XSLT).

@hcayless hcayless self-assigned this Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant