-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello, ManuelaRunge! I was browsing GitHub and came across this plugin by accident, great idea on your part! Thank you! Also, I have some ideas as follows:
- Zotero is about to release its 7th major update, so for the convenience of compatibility, I think we can target Zotero 7 1. Of course, it's up to you.
- The official Zotero documentation suggests always storing the title in sentence capitalization, so that the CSL handles "sentence capitalization" correctly 2.
- Conversion to sentence capitalization has already been added to Zotero.Untilies, and the new function is adapted to cover most cases and most proper nouns 3, so I don't think we need to duplicate this part of the wheel, and can pr more exceptions to this repository. This function is already available in Zotero 7.
- The plugin can directly call Zotero.Untilies to implement sentence-style case and additionally add features such as custom terms.
I have also developed a plugin that extends the official sentence case conversion for your reference: https://github.com/northword/zotero-format-metadata/blob/ae46c80ef83d5903411991111c55054c36f5759b/src/utils/str.ts#L75-L156 , looking forward to communicate with you.
In addition, I recommend you to browse the Zotero plugin template maintained by windingwind, which supports typescript type checking and uses zotero-types for type hints! 4 I think it can greatly facilitate plugin development!
Footnotes
Metadata
Metadata
Assignees
Labels
No labels