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

lines break at different positions in loops than in the actual notebook #13

Open
keckelt opened this issue May 30, 2023 · 1 comment
Open

Comments

@keckelt
Copy link
Member

keckelt commented May 30, 2023

Lines of markdown and code outputs are wrapped by the browser, i.e., on white space.
As there is much less horizontal space in in loops, lines don't break at the same position as in the notebook.

They should, however, such that the notebook states can be compared easily.

@keckelt
Copy link
Member Author

keckelt commented May 30, 2023

How to detect line breaks: https://www.bennadel.com/blog/4310-detecting-rendered-line-breaks-in-a-text-node-in-javascript.htm

Possible solution: disable all automatic line breaks by the browser and add them manually

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