Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

brendena/MathEquations-Extension

Repository files navigation

New version here

logo for MathEquation Extension

MathEquations-Extension - Chrome Firefox

example

File Structor

  • /dist/ - distributable folder
  • /docs/ - Github pages folder
  • /src/ - source folder
  • /src/Background/ - background script handles the events from the browser action.
  • /src/MathEquation/ - Bulk of the code. This hold all the code for the ui that convert the equations into images.
  • /src/StaticFiles/ - Mostly just images
  • /src/HelpPage/ - Code for the GithubPages

Building

Getting started

  • npm install --global web-ext
  • npm install

Building Firefox

  • npm run start
  • In firefox's url put about:debugging
  • This will load a page that will allow you to add the extension by uploading the manifest.json document.

LiveView Firefox and Chrome

  • npm run start:autoRefresh
  • cd dist && web-ext run

Release Build

  • npm run start

External Builds

  • MathJax 3 is built with a different build system.
  • Instruction for that will be found in the src/MathEquation/lib/custom-mathjax