<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="referrer" content="no-referrer" />
  <script defer src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>

  <script>
    window.MathJax = {
      loader: {
        // 指定 mathjax 资源根路径为当前 public 目录（如需放到子目录请修改）
        paths: { mathjax: './' },
        // 只加载必要的输入/输出模块，避免自动加载辅助无障碍模块（会触发 speech-worker）
        load: ['input/tex', 'output/chtml']
      },
      chtml: {
        // 指向本地字体目录（建议把 MathJax 的 woff-v2 字体复制到 public/output/chtml/fonts/woff-v2）
        fontURL: './output/chtml/fonts/woff-v2'
      },
      tex: {
        inlineMath: [['\\(', '\\)'], ['$', '$']]
      }
    };
  </script>
  <script src="./math.js"></script>

  <link rel="stylesheet" href="//at.alicdn.com/t/c/font_4939100_4d2bva7l2pq.css">
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
</body>

</html>