org-roam-ui
org-roam-ui copied to clipboard
[BUG] Underscore always becomes underline
Describe the bug On the latest org-roam-ui branch, in org-roam-ui, underline becomes subscript. Even if I add the following line in the file
#+OPTIONS: ^:nil
But, if I export to a html file, the above setting is working and underline is underline not subscript.
To Reproduce It's 100% reproducible. It's the same when you open any file.
Expected behavior underline is underline, do not become subscript.
Screenshots
What browser were you using? Chrome
Thanks for your help
@rasendubi do you know if this is a uniorg issue or an org-roam-ui issue?
It's a uniorg one. There are two ways to enable this behavior in org-mode: via a variable or via options. Neither way is currently supported by uniorg
Is there any workaround method that can be fixed? Thank you. @rasendubi
Not really. The easiest way to fix this is to add support for org-use-sub-superscripts
in uniorg. If someone is interested in implementing this, I can provide some guidance
@rasendubi, This ticket is quite old, but could you share the guide?
oh, org-use-sub-superscripts is already implemented now, so the only thing left is to pass correct configuration from org-roam-ui
See https://github.com/rasendubi/uniorg/blob/11ef10311b05ebd4d0dea80a7f4c51d4aa82edcf/packages/uniorg-parse/src/parse-options.ts#L14 for config documentation
@rasendubi Thank you for sharing! @tefkah I cannot find any documentation to configure uniorg's ParseOption. Aren't there any configuration interfaces for this yet in org-roam-ui?
Any updates on this?