RStudio addin 'insert Zotero bibliography': request to support json / yaml
florisvdh opened this issue ยท 3 comments
The RStudio addins are really great ! ๐ ๐ They bind so well (and fast) to Zotero!
Currently, the addin 'insert Zotero bibliography' implements the bibtex format.
Given that 'Most users should use CSL-JSON format (.json) for their bibliographies.' (from bbt_write_bib()
documentation), it seems sensible to have the option (~addins) to insert json or yaml.
Right now I detect this using bbt_guess_format(bbt_rstudio_editor_filepath())
, so if you have a .json
or .yaml
file open, it should guess this properly.
You're right, it does! ๐ (I was merely trying this inside an Rmd file, just to see how the addin behaves)
Maybe the behaviour can be clarified a little more in the readme of the repository, especially the fact that it is format-aware. Right now the explanation on the addins is quite brief - while these are sooo nice!
Not perfect, but I documented a bit of the addin behaviour in the README!