You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're developing a web platform for teachers to create questions. Often they'll create questions with blanks like this:
Markdown
The quick brown fox ________ (jump) over the lazy dog
Which is rendered as The quick brown fox ________ (jump) over the lazy dog on GitHub here but is rendered as The quick brown fox (jump) over the lazy dog using markdown-to-jsx (which is understandable, as there are no characters within the bold text).
I'd like to render the original text if there's no characters within the bold text. Currently I can set component overrides like this:
We're developing a web platform for teachers to create questions. Often they'll create questions with blanks like this:
Markdown
Which is rendered as
The quick brown fox ________ (jump) over the lazy dog
on GitHub here but is rendered asThe quick brown fox (jump) over the lazy dog
using markdown-to-jsx (which is understandable, as there are no characters within the bold text).I'd like to render the original text if there's no characters within the bold text. Currently I can set component overrides like this:
Nonetheless as the original text isn't provided as prop, we can't tell
________
from********
. How can we tell them apart?The text was updated successfully, but these errors were encountered: