logseq-live-math icon indicating copy to clipboard operation
logseq-live-math copied to clipboard

[Bug] Modular box always change into placeholder

Open Bread7 opened this issue 1 year ago • 5 comments

What happened?

https://github.com/AllanChain/logseq-live-math/assets/39032432/fff3238f-fb5d-4ea2-ad4d-96e69eb2599c

The mod value box is always put into placeholder rather than the typed value.

Logseq Version

0.10.3

Logseq Live Math Version

1.4.0

Quick check

  • [X] There is no existing issue about this bug

Additional context

No response

Bread7 avatar Jan 20 '24 16:01 Bread7

This is an upstream issue (https://github.com/arnog/mathlive/issues/1565). And due to the design of MathLive, it requires "non-trivial amount of changes".

As a workaround, you can add the following inline shortcut:

    "pmod": "\\quad(\\operatorname{mod}\\ #?)"

and insert by typing pmod instead of (mod

AllanChain avatar Jan 21 '24 01:01 AllanChain

Thanks for the reply!

Bread7 avatar Jan 21 '24 02:01 Bread7