If you find this extension useful, Buy Me A Coffee!
A Chrome extension to provide a real-time preview of math entered into WeBWorK text fields, and show whether parentheses are correctly completed, with minimal distraction in the form of extra input boxes or misaligned overlays.
Available at https://chromewebstore.google.com/detail/webworker/cokogomdladilchdakkknehhnnoipbke
Should work with most implementations of WeBWorK, please create an issue on GitHub if you notice any errors.
Based off of WeBWorKMathView by Noah Tajwar and WeBWorK Parentheses Checker by James Yuzawa.
This extension makes use of the following open source libraries:
- jQuery
- KaTeX
- MathJax
- The WeBWorK platform already uses MathJax to render its own equations, so this extension uses WeBWorK's instance of MathJax
- AsciiMath
- This extension uses a modified version of the ASCIIMathTeXImg.js file that returns a LaTeX string for a given AsciiMath input. The set of accepted AsciiMath inputs is heavily modified to reflect the functions actually supported by WeBWorK as listed here: https://webwork.maa.org/wiki/Available_Functions
-
Go to the dropdown on the green code button, and download ZIP
-
Extract the ZIP file to the desired location on your computer
-
Go to the Extensions Page in Chrome (
chrome://extensions/
) in the URL bar -
Enable developer mode in the top right hand corner, and then "Load unpacked" in the top-left corner
-
Select the inner
WeBWorKer-main
folder -
Done!