Closed niudong1001 closed 5 years ago
Now I want to ask If there is a way to customize the structure of the output?
Citation.js uses CSL and citeproc-js
to create formatted bibliographies, and I don't know of a way to make it there but I can ask.
And also I want to ask If there is a way to import modules optionally?
Yep, check out the packages and for browsers the bundle tool (also available at juniper-coat.glitch.me). Example usage:
const {Cite} = require('@citation-js/core')
require('@citation-js/plugin-bibtex') // load BibTeX functionality
// new Cite(...)
@larsgw Thanks!
So there is an (experimental) option to do this in citeproc
apparently, I'll see what I can do to implement it.
Hello, I have some questions about Citation.js. First one: I find that if I input a BibTeX structure text like this:
It will get the HTML output using the following code:
The output is like:
Now I want to ask If there is a way to customize the structure of the output? For example I want output this:
Second one: And also I want to ask If there is a way to import modules optionally? For example, I just want to import
bibtex
module and do not need modules likedoi
orwikidata
. This may narrow the package size.Thanks for your excellent work, Hope to get some advice!