This aims to address a long-standing gripe I have when using Logseq!
In Emacs's org-mode, {} can be used to separate items like \Delta from any text that follows. This is consistent with how {} is used to explicitly mark where sub/superscripts end. Here are some examples from Emacs that I've converted into test cases:
This:
Becomes:
One way I've continued to deviate from this Emacs behavior is by transforming \DeltaG into DeltaG (without the backslash). This keeps the same behavior that already existed and seems to fit a bit better with the way Logseq displays things?
I'm happy to change that too!
(Also, sorry if I'm made some simple mistakes in this short PR, today is the first time I've ever read / written OCaml code and I'm working off of a familiarity with Haskell!)
This aims to address a long-standing gripe I have when using Logseq!
In Emacs's
org-mode
,{}
can be used to separate items like\Delta
from any text that follows. This is consistent with how{}
is used to explicitly mark where sub/superscripts end. Here are some examples from Emacs that I've converted into test cases:This:
Becomes:
One way I've continued to deviate from this Emacs behavior is by transforming
\DeltaG
intoDeltaG
(without the backslash). This keeps the same behavior that already existed and seems to fit a bit better with the way Logseq displays things?I'm happy to change that too!
(Also, sorry if I'm made some simple mistakes in this short PR, today is the first time I've ever read / written OCaml code and I'm working off of a familiarity with Haskell!)