org-roam-ui
org-roam-ui copied to clipboard
[BUG] equation reference is not rendered properly
I am using org-ref to reference equation. This puts the text eqref:eq:1 in the text.
The problem is that in the html formatting of the notes, the proper equation number is not showing, but the same text is showing eqref:eq:1.
This is an example for what I see in the html view:

Equation references made with org-ref are not (afaik) parsed by uniorg, so sadly we can't do anything with them at the moment. You can try opening an issue request there!
uniorg-parse takes an options object that allows to add more link types to be parsed:
import { defaultOptions } from 'uniorg-parse/lib/parse-options';
unified()
.use(uniorgParse, {
linkTypes: [...defaultOptions.linkTypes, 'eqref'],
})
EDIT: it's actually in the default set, so it should be parsed
Ha okay then that is on me! I'll have a look