guan404ming opened a new pull request, #889:
URL: https://github.com/apache/mahout/pull/889
### 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
<img width="729" height="584" alt="image"
src="https://github.com/user-attachments/assets/e556087b-1e7c-4d25-a92c-695a420e1709"
/>
after
<img width="730" height="629" alt="image"
src="https://github.com/user-attachments/assets/06ab35be-ce81-40ab-9812-6230b2851570"
/>
### Related Issues or PRs
<!-- Add links to related issues or PRs. -->
<!-- - Closes #123 -->
- Related to #884
### Changes Made
<!-- Please mark one with an "x" -->
- [x] Bug fix
- [ ] New feature
- [ ] Refactoring
- [ ] Documentation
- [ ] Test
- [ ] CI/CD pipeline
- [ ] Other
### Breaking Changes
<!-- Does this PR introduce a breaking change? -->
- [ ] Yes
- [x] No
### Checklist
<!-- Please mark each item with an "x" when complete -->
<!-- If not all items are complete, please open this as a **Draft PR**.
Once all requirements are met, mark as ready for review. -->
- [x] Added or updated unit tests for all changes
- [x] Added or updated documentation for all changes
- [x] Successfully built and ran all unit tests or manual tests locally
- [ ] PR title follows "MAHOUT-XXX: Brief Description" format (if related to
an issue)
- [x] Code follows ASF guidelines
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]