Universal Inline & Display LaTeX Renderer (KaTeX)

Render inline and display LaTeX math on any website using KaTeX. Careful with input fields! Be sure to have rendering OFF when entering an input field, otherwise you can mess up your delimiters. I have made a fix button for this, but it might not be exactly correct.

這裡顯示腳本的所有版本。 只顯示彼此間有代碼差異的版本。

  • v2025-07-13.5.2 2025-07-13

    Removed "vibe coded" and put it as a disclaimer. Removed the disclaimer of toggling a couple of times because I fixed that earlier.

  • v2025-07-13.5.2 2025-07-13
  • v2025-07-13.5.2 2025-07-13

    Included tests in the description. Code not changed.

  • v2025-07-13.5.2 2025-07-13

    Previous hacks didn't fully work (the \left{ problem), and also added a \right} fix now

  • v2025-07-13.5 2025-07-13

    Hacked some problems with the \ character already being formatted on some websites. This way, when someone unfamiliar with these formatting problems tries to write LaTeX it still recognizes it most of the time. I hope this does not cause more bugs than it solves... Seems to work fine for me so far.

  • v2025-07-13.4 2025-07-13

    Added the option to automatically render when the page loads. Also added a double render so the user wouldn't need to click the button twice anymore (this is not obtrusive, as the render is nearly instant).

  • v2025-07-13.3.2 2025-07-13

    Changed a word in the description (editing -> browsing)

  • v2025-07-13.3.2 2025-07-13

    Added the color feature to the description. No change in the code.

  • v2025-07-13.3.2 2025-07-13

    Just added a comment about the MathML part that I deleted in the last version.

  • v2025-07-13.3 2025-07-13

    Added configurable background and border for the rendered LaTeX.

  • v2025-07-13.2 2025-07-13

    Moved user defined input to the top and added color to indicate a rendered piece of LaTeX.

  • v2025-07-13 2025-07-13

    Replaced any \mbox with \textnormal since KaTeX did not seem to support mbox

  • v2025-07-12 2025-07-13

    Newline

  • v2025-07-12 2025-07-13

    Added disclaimer about multiline code and added "vibe coded"

  • v2025-07-12 2025-07-13

    Added installation and editing info

  • v2025-07-12 2025-07-13

    Added disclaimer for toggling multiple times.

  • v2025-07-12 2025-07-12
  • v2025-07-12 2025-07-12

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址