Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable customization of field to use as Notion page title #101

Merged
merged 6 commits into from
Nov 15, 2022

Conversation

dvanoni
Copy link
Owner

@dvanoni dvanoni commented Aug 13, 2022

This PR adds a new configuration option into the Notero Preferences that allows you to select which field you'd like to use as the title of pages in Notion. It currently supports the following fields:

  • Item Author-Date Citation
  • Item Full Citation
  • Item In-Text Citation
  • Item Short Title
  • Item Title

CleanShot 2022-08-13 at 12 16 52@2x

TODO

  • Chinese localization

@dvanoni dvanoni added the enhancement New feature or request label Aug 13, 2022
@dvanoni dvanoni self-assigned this Aug 13, 2022
This was linked to issues Aug 13, 2022
@martenlienen
Copy link

Works great for me, thanks a lot!

@dvanoni dvanoni linked an issue Nov 13, 2022 that may be closed by this pull request
@dvanoni dvanoni marked this pull request as ready for review November 15, 2022 06:11
@dvanoni dvanoni merged commit b34119f into main Nov 15, 2022
@dvanoni dvanoni deleted the 14-title branch November 15, 2022 07:08
@YP-Li
Copy link

YP-Li commented Dec 12, 2022

Thanks dvanoni, for making such an awesome project as notero. I am a new user of notero, but an old user of Zotero and LaTex.

My colleagues and I generally use LaTex for writing. When using LaTex, literature is uniquely identified with a Citation Key. Thus the Citation Key is generally considered by us (some LaTex users) to be the identifier of the literature.
So, could notero consider Citation Key as an alternative to Notion title?

If the suggestion is worth considering, the following information might be useful.


The Citation Key in Zotero is not native, the most popular way to generate it is based on better-bibtex (another plugin for Zotero).

In better-bibtex, users can customize the rules for Citation Key generation. The generated Citation Key may change for updates of the generation rules or updates of the bibliographic information, unless it has been pinned. Therefore, in some other note-taking software that integrates Citation Key, such as logseq, it is required that the Citation Key is already pinned before generating the notes page.


Thank you again for your contribution!

@dvanoni
Copy link
Owner Author

dvanoni commented Dec 12, 2022

Hi, @YP-Li! Thanks for your input. This is definitely something that's on the roadmap. The title of the issue doesn't make it clear, but this is actually what I intended #5 to be.

That information you shared is very helpful! I'm going to copy it into #5 so I don't lose track of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notion title name without brackets Full Citation as "NAME" Property in Notion Title as title
3 participants