Skip to content

Conversation

@guan404ming
Copy link
Member

Purpose of PR

Why
LaTeX math formulas were displaying as raw text instead of rendered equations.

How

  1. Fixed MathJax config - was inside <script src> tag (browsers ignore inline code when src is present)
  2. Converted \(...\) to $...$ and \[...\] to $$...$$ for kramdown compatibility
  3. Replaced | with \vert in ket notation to prevent markdown table parsing

before
image

after
image

Related Issues or PRs

Changes Made

  • Bug fix
  • New feature
  • Refactoring
  • Documentation
  • Test
  • CI/CD pipeline
  • Other

Breaking Changes

  • Yes
  • No

Checklist

  • Added or updated unit tests for all changes
  • Added or updated documentation for all changes
  • Successfully built and ran all unit tests or manual tests locally
  • PR title follows "MAHOUT-XXX: Brief Description" format (if related to an issue)
  • Code follows ASF guidelines

@guan404ming guan404ming added this to the Qumat 0.5.0 milestone Jan 20, 2026
Copy link
Member

@ryankert01 ryankert01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense! Thanks!

@ryankert01 ryankert01 merged commit eb67e67 into apache:main Jan 21, 2026
2 checks passed
@guan404ming guan404ming deleted the fix/latex-rendering branch January 21, 2026 02:05
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

Successfully merging this pull request may close these issues.

2 participants