How to input real \(\)?

‘()’ represents matched group in Vim. It is converted to MathJax automatically now when I create a note.

Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.0.1-x86_64-i386-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-03-06 18:29:03

Maybe use Vim add-ons

Vim Answer Shortcuts - AnkiWeb
Scroll in reviewer with vi/vim-like keys j and k - AnkiWeb
External Note Editor (vim, vscode, atom, ...) - AnkiWeb

Sorry, there is no way to escape MathJax tags other than things like adding a space or zero width space between the characters.

Okey, thanks. Now I write \(\) between MathJax tags, and use ‘\setminus’ instead of \ :rofl:

Using the HTML editor to write <pre></pre> tags around “\(\)” works for me.
In the HTML editor I type:

<pre>\(...\)</pre>

In the preview window, it is displayed as follows (I have CSS that modifies the colors for code blocks):
image

1 Like

It doesn’t work for me. What is your anki version?
截屏2023-03-10 18.08.49

I’m using

Version ⁨2.1.60 (76d88073)⁩
Python 3.9.15 Qt 6.4.2 PyQt 6.4.0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.