numbas / numbas/editor

Is the display of subbed variables in the JME part's correct answer field wrong?

Open
#613 0 comments 0 reactions 0 assignees View on GitHub
interface
Dominant language
JavaScript
Stars
60
Forks
62
PR merge metrics
No merged PRs in 30d

Description

First of all, I expected subbed variables to be shown in a different colour, like in the writemaths preview.

The variable name `u_dash_v` was rendered as
![image](https://user-images.githubusercontent.com/19513/117659483-e7ab3c80-b193-11eb-9a08-60f379e42a1b.png)

It should be shown in monospace text.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the rendering in the JME part's correct answer field and compare it with the writemaths preview. The issue is done when substituted variables such as `u_dash_v` are displayed in a distinct colour and monospace text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.