Skip to content

[Feature] Solution on how to handle new lines #1401

@medunifelix

Description

@medunifelix

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS: Windows 11
  • Zotero Version: 7.0.2 (64-bit)
  • Plugin Version: 2.4.9

Describe the feature request

Is your feature request related to a problem? Please describe.
I really love this plugin, tho there is one thing that currently prevents me from actually using it, namely, how Zotero Notes handle line breaks.
I am using Obsidian to sync my notes to and everything works great except for the fact that Zotero Notes always inserts an empty line in between populated lines. Conversely, whenever I put 2 lines right next to eachother in Obsidian, Zotero merges them into one line, which then also updates Obsidian to put them into one line. Kinda makes it unusable, since that would require me to have empty lines in between each and every line whenever working in Obsidian. When I use shift-enter to force Zotero to not create a new line, the sync adds a backslash in Obsidian at the end of the affected line.

Why do you need this feature?
See above.

Describe the solution you'd like

The solution you'd like
Since I doubt it's easy to change Zotero's behavior in this regard, maybe give us the option to disable the automatic creation of new lines when sync happens. Not sure how to handle that in the backend tho...

Alternatives you've considered
Imho there is not really an alternative. Either you change your workflow and force your brain and eyes to live with the fact that your Zotero notes in Obsidian will be super long and will be missing a crucial element in your visual segmentation toolbox, or you don't.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions