damionx7 / Zettel-Notes-Documentation

Documentation for Zettel Notes : Markdown Note Taking application for android devices
https://znotes.thedoc.eu.org/
GNU General Public License v3.0
55 stars 5 forks source link

[Feature Request] Use bookmark tag per-file rather than in database. #18

Closed RokeJulianLockhart closed 1 year ago

RokeJulianLockhart commented 1 year ago

I reorganize my files frequently. This means that documents are moved out of directories and into others. Because the internal bookmark database does not account for this, and fundamentally cannot in a synchronized repository, my bookmarks are removed.

Consequently, I suggest that the bookmark be stored in the YAML preamble. In lieu of this, I believe that a #bookmark tag should be used. I also believe that the bookmark GUI button should remain. However, this might be difficult if the 2nd implementation is chosen.

damionx7 commented 1 year ago

I have added this feature. It will be live in v1.0.91.

To set bookmark use yaml property bookmark: true or bookmark: 1

To remove bookmark bookmark: false or bookmark: 0

Other yaml alias supported are pin and star