Apparently mdbook has a plugin for it, and pandoc also supports citations in markdown so it's not as uncommon as I would have thought. A natural solution user-wise could be to have a template function cite(&str) that generates markdown, however then the footnote generated by that function would have to be hoisted into the parent markdown document if templated-markdown (#1) is solved the way I'm thinking right now, which makes this pretty nasty.
Alternatively, "native" support for citations in markdown with the default markdown-to-HTML processor (pulldown_cmark) could just be declared out-of-scope, in which case citations could still be supported via pandoc (#10), though that would likely have its own downsides, in particular requiring users to have it installed because I'm definitely not going to embed it somehow.
Apparently mdbook has a plugin for it, and pandoc also supports citations in markdown so it's not as uncommon as I would have thought. A natural solution user-wise could be to have a template function
cite(&str)
that generates markdown, however then the footnote generated by that function would have to be hoisted into the parent markdown document if templated-markdown (#1) is solved the way I'm thinking right now, which makes this pretty nasty.Alternatively, "native" support for citations in markdown with the default markdown-to-HTML processor (
pulldown_cmark
) could just be declared out-of-scope, in which case citations could still be supported via pandoc (#10), though that would likely have its own downsides, in particular requiring users to have it installed because I'm definitely not going to embed it somehow.