2
JavaScript Library For Citations
Post Body
Hi, I'm making a website in which I would like to cite sources/make references. I like Wikipedia's method for citing sources (e.g. <ref>{{Cite book ...
). I could manually write citations in HTML, but then I'll need to deal with formatting, numbering, etc., and I'm guessing that there's libraries that handle this, but I haven't found one. Does anyone know of one? Here's an example of what I'd like:
<p>Here is a sentence that I would like to give a citation for.<citation name="example" author="example" title="example" /></p>
Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
80,902
Link Karma
51,325
Comment Karma
29,429
Profile updated: 1 day ago
Posts updated: 8 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnprogra...