This PR is not yet complete, but I'm making it to request some help in Implementing this feature.
I've managed to find a way to collect all cite keys in the note body and add them to the bibliography section in the footer. However, I can't figure out how to proceed from here.
I'm trying to look for any of the patterns described here. After encountering a pattern, I create a new token of type "inline_reference", replacing the old "text" token, to be parsed by the renderer later. But I still don't know how the renderer is supposed to do this, I tried just returning a random HTML but didn't work. The documentation of markdown-it does not help either
This PR is not yet complete, but I'm making it to request some help in Implementing this feature. I've managed to find a way to collect all cite keys in the note body and add them to the bibliography section in the footer. However, I can't figure out how to proceed from here.
I'm trying to look for any of the patterns described here. After encountering a pattern, I create a new token of type "inline_reference", replacing the old "text" token, to be parsed by the renderer later. But I still don't know how the renderer is supposed to do this, I tried just returning a random HTML but didn't work. The documentation of markdown-it does not help either
I need help, please.