Hi,
Recently I choose to move from MediaWiki to Hugo for my documentation/wiki related to all technological things.
I could achieve most things I would like to have. However, there is one thing I miss - being able to add citations to my articles like in MediaWiki. It’s a bit hard to explain, so let me show you what I mean:
# Some Markdown Heading
This is some text in my article blah blah blah.[1] And another important
thing I got from another important resource.[2].
# References
[1] URL or Book Citation
[2] URL or Book Citation
I found this post, but they ask explicitly for BibTeX file support.
For me it doesn’t matter if it’s a BibTeX file, YAML or whatever as long as it does the job the following:
- I can cite with a placeholder, Something like
This is some text in my article blah blah blah.@citation_alias
.(shortcode?) - The numbering happens automatically.
- The References section with the citation appears automatically (template?)
- I can reuse a citation. So if I use two times
@citation_alias
, I get only one reference in my “References” section.
For points 2 and 4, I have no idea how to tackle that. I already did some templating and worked with Hugo, so I can work myself through building the mechanics behind that. I can code in Python too, but try to do this as natively as possible to avoid long build times within netlify.
Does anyone have some ideas about how I can tackle this problem? Maybe even a theme that supports the feature already so I can add that into mine?
I hope, I made my idea clear =)