Skip to content

danielrbenjamin/WeBWorKer

Repository files navigation

Thumbnail Frame 1

If you find this extension useful, Buy Me A Coffee!

WeBWorKer

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.

Libraries

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

Installation

  1. Go to the dropdown on the green code button, and download ZIP

    Screenshot 2024-01-20 221034

  2. Extract the ZIP file to the desired location on your computer

  3. Go to the Extensions Page in Chrome (chrome://extensions/) in the URL bar

  4. Enable developer mode in the top right hand corner, and then "Load unpacked" in the top-left corner

    Screenshot 2024-01-20 221204

  5. Select the inner WeBWorKer-main folder

  6. Done!