Notion exports with chapter titles #101
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of proposed feature implementations
enable_location=False
, and we ran the script a second time withenable_location=True
, the original behaviour was to not change the content, new behaviour is to detect this change and rewrite the page. Changes in the following options are detected. The new database can be found hereenable_location
enable_highlight_date
#highlights
last highlighted date
Example new page:

separate_blocks=True
was slower. Optimized it by using the full notion API bandwith of 100 blocks per request. My intention is that separate_blocks=True would be the preferred approach and set to default as notion API has a limit of 100 characters on the paragraph anyways (as indicated by one of the comments of the original author).Example page to help better understand: https://www.notion.so/Thinking-in-Bets-264cbb15a7c781f8971eed3b07a7a6e1?source=copy_link
kindle_root
)Technical improvements
uv
anddirenv