Skip to content

Instantly share code, notes, and snippets.

@Broxzier
Created November 26, 2025 12:45
Show Gist options
  • Select an option

  • Save Broxzier/af56cb031c7caf36a1285b223f3ab8bb to your computer and use it in GitHub Desktop.

Select an option

Save Broxzier/af56cb031c7caf36a1285b223f3ab8bb to your computer and use it in GitHub Desktop.
LaTeX / KaTeX example
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-WcoG4HRXMzYzfCgiyfrySxx90XSl2rxY5mnVY5TwtWE6KLrArNKn0T/mOgNL0Mmi" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-J+9dG2KMoiR9hqcFao0IBLwxt6zpcyN68IgwzsCSkbreXUjmNVRhPFTssqdSGjwQ" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-hCXGrW6PitJEwbkoStFjeJxv+fSOOQKOPbJxSfM6G5sWZjAyWhXiTIIAmQqnlLlh" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
</head>
<body>
<p>\(a^2 + b^2 = c^2\)</p>
<p>\(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\)</p>
</body>
</html>
@Broxzier
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment