forked from kuhumcst/glossematics
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Option to ignore <BR> elements #1
Comments
A lot of this is caused by a lack of column support, though, so perhaps this is worth exploring first? e.g. |
Column support has been added in c9677ba |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem statement
Many of the TEI documents on Clarin.dk are extemely narrow, making reading them pretty hard if once is to respect the original formatting. An option to enable/disable this on-demand could be pretty useful.
Implementation
This could be implemented as
However, one complication is the fact that it would need to also apply to shadow-dom elements since it is used in the TEI reader. Perhaps the way to do it is by setting a variable in the page :root and using this as the display value for
in tei.css, e.g.
Unsure if this would work. Another option is to rebuild the Hiccup every time this setting changes.
The text was updated successfully, but these errors were encountered: