Closed Cobertos closed 4 years ago
Awesome!!!
@acg --append
should add nodes to the passed page instead of creating a new page, otherwise yeah that all sounds right.
Though there is no way to use both --clear-previous
and --append
together, if that was something you were looking for?
@Cobertos how to only update the content of a page in place. I have a markdown file in my Github repo that I want to use as a source for my Notion page. the --append
works for page but not the content of the page itself
Hmm, there's no way to --append
and --clear-previous
(an update in place on the same page), mainly because there's no real easy way to tell where in page the markdown was appended between multiple runs.
The best I could do would be to --clear-previous
on the page your appending to. Or we'd have to somehow keep track of previous uploads/add extra markers to the page to denote where it was uploaded last.
Does your use case not work to just use --clear-previous
and upload the markdown file to a new page?
Adds a couple different modes
--clear-previous
- Clears previous PageBlocks if passed--append
- Appends to the passed Page instead