-
-
Notifications
You must be signed in to change notification settings - Fork 222
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!(journal): periodic & multiple journals #1474
base: main
Are you sure you want to change the base?
Conversation
@maxkuzn if you have feedback on the features here that would be great |
With core.tempus now being the defacto (since 0.10 is required) I can start reviewing this sooner than later. I took a general glance at it and the execution looks solid. |
Had a look at this again. I think the best solution for the I'm fairly sure it's possible to transform the I think this is a fairly reasonable approach. Let me know if you have thoughts @vhyrro |
5a13046
to
f5607be
Compare
f5607be
to
fdafabe
Compare
just stumbled upon this after posting #1648 but seems like the general idea/concept behind this was at least similar. as this feature here goes well beyond my quick-fix/workaround, i definitely think this would add great value to the journal module and would therefore love to see this becoming fully available. one thing that i'm wondering about is how a unified TOC may look like for this. another idea/questionmark that was popping up reading through the description was how about a possibility to express link-templates within journal templates which effectively would generate links into another journal's entries (e.g. dynamically generating and embedding a link into a newly created daily journal's entry to the surrounding weekly and/or monthly and/or quarterly journal given that such exists)? |
Glad you like it!
Yeah that would be useful. We could add a new function for it. Formatting it would be a challenge, months throw things off for sure. We could easily do years + months + days or years + weeks (mostly work) + days. Including months, if we want to be strict about days being correct, we could include a week that spans two separate months in both of those months, and list only the days of that week which are in the current month. Something else to think about:
I think the answer to this question is to make the toc generation modular enough that users can decide how their custom journals fit in, and then default only include daily, monthly, yearly in the unified view.
There's a third party module, pysan3/neorg-templates, that allows for dynamic templates using luasnip. Highly recommend. |
implements #1471
Features
:Neorg journal previous|current|next <journal_name>
Of Note
template_name = template.norg
it's nowbase_template_name = "template"
and templates files will be created on a per-journal basis like:template-daily.norg