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

Text cannot be added to the specified header of daily note #32

Open
wenlzhang opened this issue Jun 18, 2021 · 4 comments
Open

Text cannot be added to the specified header of daily note #32

wenlzhang opened this issue Jun 18, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@wenlzhang
Copy link

I configured a header for the text to append to with odailyheader, then I used odi to append text. However, the text was not appended to the specified header but to the end of the note.

Also, I specified the desired header to append to-dos to with odailytodoheader. However, to-dos cannot be appended to the specified header either. They were appended to the end of the note. I am also not sure if I used this feature correctly. If I want to append to-dos to the specified section of the daily note, is odi the correct command to use? If so, it seems that I need to use [ ] Task to make it a to-do. Is it possible to add to-dos with a new command or something such that one does not need to input [ ] each time?

Another thing is related to the configuration of timestamp. It seems that the configured format cannot be migrated automatically when updating this workflow.

@hauselin
Copy link
Owner

Oops, my bad. I should have removed odailyheader and odailytodoheader (and other unused variables). I was doing some testing a while ago with those variables but ended up not implementing them (especially since no one requested them either). For now, odi works like oi—it simply appends text to the end of the markdown file, not under any header/section.

I'll think about what's the best way to implement your suggestions, which I think are the following:

  • append to-dos/text to a specified section
  • make it an option to prepend [ ]

Another thing is related to the configuration of timestamp. It seems that the configured format cannot be migrated automatically when updating this workflow.

Do you mean using odailyformat and dailyformat? They aren't related to the date/time that gets appended to the daily note. If you want to configure that, manually change it here instead. See Alfred's documentation for more info.

Screenshot_20210618_112721

@wenlzhang
Copy link
Author

As always, thanks for the detailed explanations. 😃 It would be great to be able to append text to a specified section and to append to-dos with a command like odti to a specified section.

Regarding the timestamp, I meant the one appended with oi and odi. I can manually modify it, as pointed out in the red arrow in the figure above. I meant that it seems that this modification cannot be migrated together with other settings when updating this workflow, but never mind, it's a trivial thing, compared with many other settings.

@hauselin hauselin added the enhancement New feature or request label Jun 21, 2021
@voynovia
Copy link

+1, I really want to add tasks [ ]

@Thopiax
Copy link

Thopiax commented Oct 24, 2022

👍 this would be a super-useful feature as I'm currently using the Things Logbook plugin and I'd like to keep things separate from my ideas.

Really good job on this workflow! Might submit a PR if I find the time to implement the feature 😄

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

No branches or pull requests

4 participants