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

[FEATURE REQUEST] Enhanced Filepath and Filename Flexibility #773

Open
chhoumann opened this issue Jan 19, 2025 · 0 comments
Open

[FEATURE REQUEST] Enhanced Filepath and Filename Flexibility #773

chhoumann opened this issue Jan 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@chhoumann
Copy link
Owner

I received this feature request via email. Creating this issue does not mean I have thought the feature through or even endorse its implementation (yet!).

I do think that this kind of feature would be great to have, I just need to think through the design and specific variables to introduce.


  1. Using the Name of the File Where the Capture Was Initiated From
    I’d love it if QuickAdd could allow us to reference the name of the file where the capture was triggered. For example:
  • If I’m working on Atomic_habits.pdf, QuickAdd could provide three new variables:
      - {{FILENAME_BASE}}: Atomic_habits (name without the extension).
      - {{FILENAME_EXT}}: .pdf (the file’s extension).
      - {{FILENAME_FULL}}: Atomic_habits.pdf (full name including the extension).

This would make it possible to easily capture content to a designated file for that specific book. For example, I could quote content from Atomic_habits.pdf directly into Atomic_habits.md.

This feature would be incredibly useful for workflows centered around books, articles, or other resources. It would simplify how we organize and capture quotes or notes based on the source material.

  1. Supporting Custom Date Formats in Filenames
    It would also be amazing if QuickAdd could support custom date formats in filenames, similar to how the Daily Notes plugin allows us to use formats like DD-MM-YYYY-dddd (e.g., 02-01-2021-Thursday).

For example, I could specify a capture-to path like:

notes/{{DATE:DD-MM-YYYY-dddd}}-{{FILENAME_BASE}}.md

This would create a file like notes/02-01-2021-Atomic_habits.md. This flexibility would open up a lot of possibilities for integrating QuickAdd with date-based workflows.

Why This Feature Would Be Powerful
This feature would greatly enhance the flexibility and usability of QuickAdd:

  • It would make it easier to organize content by source material (e.g., books, articles, etc.).
  • It would simplify workflows for users who work with date-based templates or need to integrate QuickAdd with other plugins like Daily Notes.
  • It would make QuickAdd a more powerful tool for capturing structured information efficiently, especially for workflows focused on research, reading, and note-taking.

Comment from @chhoumann: The date functionality is already implemented, see here. Pending more information from the user.

@chhoumann chhoumann added the enhancement New feature or request label Jan 19, 2025
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