-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ can't be rendered in notes #219
Labels
needs-review
Need peer testing/review (prolly a bug)
Comments
I have this problem, too. Sometimes, it seems to repeat the phrase before:
Rendering in Anki:
|
Can the dollar symbols in the code block, such as ``` $$``` or `$`, be kept as they are,thanks |
Yes, this behavior is very distracting. |
I ran into this error today. I left a possible solution in #618 // decensor(note_text, mask, replacements, escape) {
// for (let replacement of replacements) {
// note_text = note_text.replace(mask, escape ? escapeHtml(replacement) : replacement);
// }
// return note_text;
// }
decensor(note_text, mask, replacements, escape) {
let i = 0;
return note_text.replace(new RegExp(mask, 'g'), () => {
let replacement = replacements[i++];
return escape ? escapeHtml(replacement) : replacement;
});
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried
$
and\$
and `$`, but the dollar sign get's replaced with\(
in all cases due to the math formatting. Is there a syntax I'm missing?The text was updated successfully, but these errors were encountered: