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

Date for generated markdown? #48

Open
dionjwa opened this issue Apr 10, 2023 · 3 comments
Open

Date for generated markdown? #48

dionjwa opened this issue Apr 10, 2023 · 3 comments

Comments

@dionjwa
Copy link

dionjwa commented Apr 10, 2023

How do have a date for a given notion generated page/blog entry?

Maybe it could be a notion doc property? But what about overwrites? What then is the correct date?

Basically, I want my docu-notion blog entries to have the correct date, but I'm not sure the best way to do this.

Probably best is if docu-notion reads a date field, and prefixes the output with YYYY-MM-DD- as recommended by docusaurus.

Could a plugin rename the output files?

@hatton
Copy link
Member

hatton commented Apr 10, 2023

Yeah, maybe the date should be akin to the current support for a slug property? I'm not clear about your concern for overwrites.

I apologize, I know nothing of blogs and don't have time at the moment to look into features beyond what our group needs. If you do get totally stuck, let me know and when I can, I'll look at it.

@dionjwa
Copy link
Author

dionjwa commented Apr 12, 2023

Yeah, no need to apologize for anything, this piece of code is super useful to me, and requests or questions are completely optional to even answer. Gratitude for a useful tool.

@dionjwa
Copy link
Author

dionjwa commented Oct 5, 2024

What I need is a plugin to know the page id of whatever the context is. Currently, I see no mechanism to get the pageId anywhere in any of the plugins. Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants