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: Allow custom template for note export #79

Open
quinn-p-mchugh opened this issue Jan 15, 2024 · 1 comment
Open

Feature Request: Allow custom template for note export #79

quinn-p-mchugh opened this issue Jan 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@quinn-p-mchugh
Copy link

quinn-p-mchugh commented Jan 15, 2024

This is a big ask, but submitting just in case this would be valuable to other users.

The Issue

Currently, there is no way to customize the way markdown notes are generated for each note in Google Keep.

Proposed Solution

Using a templating engine like Jinja, users could be able to specify their own Jinja template to use for generating markdown notes.

For example:

Below is the default export format:

- I'd like to find system for (X)
- Is a hot dog a sandwich?
- Add questions to document

Created: 2024-01-15 05:40:34   ---   Updated: 2024-01-15 05:40:34

[https://keep.google.com/#NOTE/1705297229969.1234682776](https://keep.google.com/#NOTE/1705297229969.1234682776)

Using a custom template, the user could have their markdown notes formatted in the following way if they prefer having the note metadata stored in markdown frontmatter:

---
created: 2024-01-15T05:40:34
updated:  2024-01-15T05:40:34
note-url: [https://keep.google.com/#NOTE/1705297229969.1234682776](https://keep.google.com/#NOTE/1705297229969.1234682776)
---
- I'd like to find system for (X)
- Is a hot dog a sandwich?
- Add questions to document

The template file for the above would look something like:

---
created: {{ created_at }}
updated: {{ updated_at }}
note-url: [{{ note_url }}]({{ note_url }})
---
{{ note_content }}
@djsudduth
Copy link
Owner

Interesting idea! Now that Obsidian supports front-matter that makes some sense! I'll take a look at it,

@djsudduth djsudduth added the enhancement New feature or request label Jan 15, 2024
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

2 participants