Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citations #11

Open
jplatte opened this issue Nov 3, 2023 · 0 comments
Open

Citations #11

jplatte opened this issue Nov 3, 2023 · 0 comments

Comments

@jplatte
Copy link
Owner

jplatte commented Nov 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant