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

Update Notes with tasks instead of overwriting them #23

Open
3 tasks
muness opened this issue Dec 26, 2023 · 1 comment
Open
3 tasks

Update Notes with tasks instead of overwriting them #23

muness opened this issue Dec 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@muness
Copy link
Member

muness commented Dec 26, 2023

Why and how clearly belong in Obsidian, and what and when belong in Amazing Marvin. By overwriting the notes, we lose out on the ability to have that kind of workflow.

  • Do not delete the AmazingMarvin tree on Import.
  • Instead, update the Categories, Projects and Tasks sections (from the header through the last AM task) and leave content before and after intact.
  • Likewise, for Daily Tasks, update from the header through to the last AM task instead of the current behavior of just adding a new Tasks header + tasks.
@muness muness self-assigned this Dec 26, 2023
@muness muness added the enhancement New feature or request label Dec 26, 2023
@muness muness mentioned this issue Dec 26, 2023
4 tasks
@muness muness removed their assignment Dec 26, 2023
@muness
Copy link
Member Author

muness commented Dec 27, 2023

Potentially useful if the RegEx to do this gets unwieldy: https://github.com/remarkjs/remark?tab=readme-ov-file#syntax-tree

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

1 participant