Skip to content

An easy to use generator for CSL (Citation Style Language) files to use in a citation manager (e.g. Zotero).

Notifications You must be signed in to change notification settings

theRatramnus/easy-csl-ssg

Repository files navigation

easy-csl-ssg

An easy to use generator for CSL (Citation Style Language) files to use in a citation manager (e.g. Zotero).

Hosted on GitHub pages: https://theratramnus.github.io/easy-csl-ssg/.

If you like the project, why don't you

Buy Me a Coffee at ko-fi.com

Contribute

Expanding the project is very easy, you don't really need to know how to code and you can do it right here in the browser. Without really coding, you could:

  • translate the project to a new language
  • add a new variable placeholder
  • add a new "type" like book or chapter

For this you'll only need to change one file: localization.js. (Just click the little pencil in the top right.)

Translating

Just duplicate the const en = {...}-object and change the content in the speech marks to the right of the colons. One exception: the cslDictionary-subobject. There you will need to change the content before the colons.

Adding a new variable placeholder

For this, you'll just create a new entry in the cslDictionary-subobject. On the left of the colon will be the user-facing name and on the right the CSL spec name of the variable. You can find all available variables here.

Adding a new type

For this, you just need to add new entries to the stylerDefaults and stylerDescriptions subobjects. Both entries need to have the same key (left side of the colon) which needs to be one of these to work.

Once you're done just open a pull request and if anything is unclear open an issue.

Thanks

Thank you

Built using Vue.

Written with StackEdit.

About

An easy to use generator for CSL (Citation Style Language) files to use in a citation manager (e.g. Zotero).

Topics

Resources

Stars

Watchers

Forks

Sponsor this project