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

[Bug] multiline math issues

Open zzhixin opened this issue 2 years ago • 2 comments

What happened?

issues

It should be \begin{align}\end{align}

Logseq Version

0.10.3

Logseq Live Math Version

1.3.1

Quick check

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

Additional context

No response

zzhixin avatar Jan 06 '24 01:01 zzhixin

Oh, this bug is very unfriendly to new users. While this is mainly caused by upstream, I'll try to fix it.

As a workaround, I created an inline shortcut (edit settings.json in the plugin settings page, link)

"align": "\\begin{align*}\n#? &= #? \\\\\n #? &= #?\\end{align*}",

After I typed "align", something like this will show

image

AllanChain avatar Jan 06 '24 01:01 AllanChain

As a temporary fix, I changed lines environment to gather implicitly (see above commit and https://github.com/AllanChain/logseq-live-math/releases/tag/v1.4.0). Further fixes require upstream fixes.

AllanChain avatar Jan 07 '24 08:01 AllanChain