chekos / til-notion-integration

I think I could make it so I write my TILs on Notion and a gh action pulls them, transform them, and publishes them - let's find out.
0 stars 0 forks source link

How should deleted pages be handled? #2

Open chekos opened 2 years ago

chekos commented 2 years ago

If you delete a page in the notion database it just won't be "markdownified" but if it had previously been markdownified and saved - it stays there.

I'm leaning towards deleting these markdown files too but how do we do this?

I think I like the idea of being able to write a post directly in markdown OR in notion. So we can't then keep only the pages from the tils.json in the output folder.

chekos commented 2 years ago

Need to research the database querying return, maybe the "deleted pages" are there too and I can delete those based on the front matter ?? 🤔