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

Accepting different kinds of zettel formats #24

Open
tevino opened this issue May 27, 2020 · 0 comments
Open

Accepting different kinds of zettel formats #24

tevino opened this issue May 27, 2020 · 0 comments

Comments

@tevino
Copy link

tevino commented May 27, 2020

Currently zkviz requires the zettel to be formatted like this:

  • Filename: YYYYMMDDHHMMSS TITLE.md
  • The YYYYMMDDHHMMSS is unique

or it finds nothing, say this case for example.

It would be great if there's an option to choose another format of zettel:

> zkviz --zettel-format [TS-TITLE|ID]

Users that are not using a timestamp-based ID could benefit from zkviz too.

Here's my setup: http://tevinzhang.com/digital-zettelkasten/

TL;DR:

  • Filename: ID.md
  • Title: in the file starting with #

The current implementation is called asTS-TITLE since it is a combination of a timestamp and title, the format I described above is ID, the names may vary, here's just a proposal to add a new flag indicating different formats.

I could submit a PR if that's needed.

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

No branches or pull requests

1 participant