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

Bad line breaking in markdown cells with a math symbol. #16731

Open
eendebakpt opened this issue Aug 30, 2024 · 1 comment
Open

Bad line breaking in markdown cells with a math symbol. #16731

eendebakpt opened this issue Aug 30, 2024 · 1 comment
Labels

Comments

@eendebakpt
Copy link

Description

When a sentence ends with a math symbol and a dot, the line breaking in jupyter lab can separate the symbol and the dot.

image

Reproduce

  1. Enter a markdown cell with text A markdown cell with a sentence ending in a symbol such as a Greek rho with a dot for which the line breaking ends up bad $\rho$.
  2. Vary the width of the notebook untill the line breaks between the rho and dot.

Expected behavior

The line breaking algorithm should keep the rho and dot together.

Context

  • Operating System and version: Windows
  • Browser and version: Chrome
  • JupyterLab version: 4.1.4
@eendebakpt eendebakpt added the bug label Aug 30, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Aug 30, 2024
@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Sep 3, 2024
@JasonWeill
Copy link
Contributor

This may be a MathJax issue; we use MathJax to render LaTeX in Markdown. See also #14570, which is about explicit line breaks in LaTeX.

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

No branches or pull requests

2 participants