Skip to content

Conversation

@dhruvisompura
Copy link
Contributor

@dhruvisompura dhruvisompura commented Dec 19, 2025

Addresses #10479

This PR adds partial support for rendering LaTeX in positron notebooks by utilizing KaTeX to render the HTML. Using KaTeX in our markdown rendering flow gets us most of the way there when it comes to supporting math expressions.

Because of our rendering pipeline which has an html parsing step, more complex expression support was not working. The root cause of this is htmlParser.ts.parseHtml() not knowing how to parse the HTML string returned by KaTeX.

We will need to move away from htmlParser if we want better support for all markdown rendering. I am exploring some options and will update the original issue with my findings.

Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

QA Notes

@:positron-notebooks

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:positron-notebooks

readme  valid tags

@dhruvisompura dhruvisompura marked this pull request as ready for review December 20, 2025 00:48
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