-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
80 characters won't fit sometimes one line in the html output #2611
Comments
This needs to be tested to determine the current situation. |
@eksperimental @divayprakash This likely depends on the web browser's setup. Though my observations below relate to Firefox in an instance of Linux Debian 12/bookworm, I speculate there equally is an option to adjust other web browsers, too. The underlying potential pitfall is the selected font and its width of characters which may vary (proportional fonts), or not (non-proportional fonts). After all, a selection of e.g., According to Change the fonts and colors websites use, it is possible to pick different fonts for regular text, and about snippets of code in monospace. In Firefox' GUI, select Settings -> General -> Language and Appearance -> Fonts -> Advanced for this widget: An adjustment of the parameters affects the display right after closing the above widget. To illustrate the result for a section about Fortran (at present, the code block stays within the 80 character/line limit), below an example with or with While this could close this thread of 5+ years, maybe it is worth an additional line in the documentation of the project or/and the landing page ( |
instead of using 1em, if you use 0.99em as the font-size, that change will make the lines fit in.
for example, in the Erlang page.
will have the last word "of" in a new line.
The text was updated successfully, but these errors were encountered: