Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #3020
Closed
Open
Issue created Mar 14, 2023 by Carter Chan-Nui@carterchannui

MathJax exceeds container width without wrapping in Obsidian

Issue Summary

MathJax exceeds container width without wrapping in Obsidian.

Steps to Reproduce:

  1. Create MathJax embed in Obsidian
  2. Write on a single line until it visually exceeds container width.

Technical details:

  • MathJax Version: 3.2
  • Client OS: macOS Ventura 13.2.1
  • Browser: Obsidian

Supporting information:

image

I believe this is a MathJax thing: https://docs.mathjax.org/en/latest/output/linebreaks.html

Automatic line breaking has not yet been implemented in MathJax version 3, but is high on our list for inclusion in a future release.

MathJax isn't great and lack features, which is why I made this plugin to begin with; but I certainly did not expect it to not even have any kind of automatic line breaking.

There might be some workaround by manipulating the CSS, but I have not looked into it yet. I will let you know if I do find one.

Originally posted by @SamZhang02 in https://github.com/SamZhang02/obsidian-latex-algorithms/issues/1#issuecomment-1467852283

To render math from LaTeX notation Obsidian uses MathJax. https://help.obsidian.md/How+to/Format+your+notes#Math

Assignee
Assign to
Time tracking