KaTeX auto-render extension test!

The solution of $ax^2+bx+c=0$ is

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Source code

This page is generated by the following code

<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>KaTeX auto-render extension</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
    <script type="module">
      import renderMathInElement from "https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/contrib/auto-render.mjs";
      renderMathInElement(document.body, {
        delimiters: [
          {left: '$$', right: '$$', display: true},
          {left: '$', right: '$', display: false},
        ]
      });
    </script>
  </head>
  <body>
    <h1>KaTeX auto-render extension test!</h1>

    <p>The solution of $ax^2+bx+c=0$ is</p>

    <div>$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$</div>
  </body>
</html>