All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aya-html.katex-auto-render.js Maven / Gradle / Ivy

/*
 * Copyright (c) 2020-2023 Tesla (Yinsen) Zhang.
 * Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
 */

document.addEventListener("DOMContentLoaded", function () {
  let blocks = document.getElementsByClassName('doc-katex-input');
  for (let i = 0; i < blocks.length; i++) {
    let block = blocks[i];
    renderMathInElement(block, {
      throwOnError: false
    });
  }
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy