Skip to content

Add KaTeX math rendering assets#77

Open
samdark wants to merge 1 commit into
masterfrom
add-katex-math-assets
Open

Add KaTeX math rendering assets#77
samdark wants to merge 1 commit into
masterfrom
add-katex-math-assets

Conversation

@samdark

@samdark samdark commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

  • add a LaTeX math processor that injects KaTeX assets only when md4c emits <x-equation> math markup
  • ship a small browser enhancer that renders inline and display equations with KaTeX
  • document markdown.latex_math rendering behavior and update the roadmap

Tests

  • make test -- --filter LatexMathProcessorTest
  • make psalm
  • make test
  • BENCH_FILTER=LatexMathProcessorBench make bench

Copilot AI review requested due to automatic review settings June 13, 2026 10:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@samdark, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 38 minutes and 53 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8c873973-dd90-44bb-9d00-424318c959dc

📥 Commits

Reviewing files that changed from the base of the PR and between 315ad8d and a286315.

📒 Files selected for processing (8)
  • benchmarks/LatexMathProcessorBench.php
  • config/common/di/content-pipeline.php
  • docs/configuration.md
  • docs/plugins.md
  • roadmap.md
  • src/Processor/LatexMath/LatexMathProcessor.php
  • src/Processor/LatexMath/assets/latex-math.js
  • tests/Unit/Processor/LatexMathProcessorTest.php
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-katex-math-assets

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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