bndynet/Notion Pages
Generate Markdown files in the Docusaurus blog folder from Notion pages.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| notion-token | Notion access token | yes | — |
| root-page-id | root page id | yes | — |
| md-dir | Directory for exported Markdown / MDX posts (e.g. Docusaurus blog folder). | no | ./blog/ |
| cleanup-before | Remove all files in md-dir before exporting. | no | false |
| output-page-count | limit the number of pages exported (0 means no limit) | no | 0 |
| download-assets | When true, download images into assets-dir and rewrite markdown links to site paths (default /slug/file; see asset-link-base). | no | false |
| assets-dir | Root directory for downloaded images (each post uses a subfolder named YYYY-MM-DD-slug). When download-assets is true and this is empty, defaults to {md-dir}/images. | no | "" |
| asset-link-base | When set with download-assets, public URL prefix before /YYYY-MM-DD-slug/filename. Typical with assets-dir ./static/: use /static/ so links look like /static/2026-01-01-post/hash.png. When empty, links are /YYYY-MM-DD-slug/filename from site root. | no | "" |
| file-extension | Exported post file extension: md or mdx. | no | md |
Outputs
no outputs