Open jeetsukumaran opened 11 months ago
Hi @universvm and @mokeyish -- we have had this ^ discussion before. Tagging you here in case you might be interested in adopting as well.
Writing here to express interest in this solution. It would be really great to have the citations and links rolled into one!
I, like [you](https://github.com/OliverBalfour/obsidian-pandoc/wiki/Citations-(work-in-progress), really want to have my Obsidian internal links / wikilinks AND markdown citations rolled into one :)
I've been fiddling about with an "emergency" project that grew into a plugin which overlaps a bit with this one, "https://github.com/jeetsukumaran/obsidian-impresario". The motivation behind that was primarily I wanted to build in the full compile instructions into the document YAML properties because I kept forgetting the way I mean the document to be compiled when revisiting it (e.g., slide level), and wanted an easier way to make sure all the filters/templates/javascript assets etc. would be bundled.
There is a Lua filter with that plugin:
https://github.com/jeetsukumaran/obsidian-impresario/blob/main/resources/publication/pandoc/filters/pdcites.lua
that works on wikilinks parsed when the "wikilinks_title_after_pipe" extension is specified, and takes the title string and wraps it up as a Pandoc citation.
The following:
results in: