openwebwork / webwork2

Course management front end for WeBWorK
http://webwork.maa.org/wiki/Main_Page
Other
143 stars 165 forks source link

tailor AsciiMath better for MathObjects #2296

Closed Alex-Jordan closed 7 months ago

Alex-Jordan commented 8 months ago

This makes changes to the AsciiMath portion of the MathJax config so that it behaves more consistently with MathObjects. AsciiMath input is used by MathView and can be used when composing text that can have math that will be rendered (a student's essay answer or instructor feedback). Changes are:

This is well on its way to addressing #638. Perhaps more can be done to get greater consistency with MathObjects and AsciiMath input, but the process is demonstrated now for removing, modifying, or adding triggers.

Alex-Jordan commented 8 months ago

I made some changes to this.

Alex-Jordan commented 8 months ago

I updated the var declarations I added (but not the ones that were already in the file and not part of this change).

I'm not sure how best to change the formatting on newTriggers. Is the prettier change coming soon?

drgrice1 commented 8 months ago

Don't worry about the prettier formatting. That will be taken care of when it is ready. I just wanted to point out that the wide formatting wont work with that. Like perltidy, prettier will auto format the code.

pstaabp commented 7 months ago

Should we close #638 now?