Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
--image-file-name-format content-hash
to use a hash of the image content as the file name. (#76){page-slug}.{notion-block-id}
. (#82)--image-file-name-format legacy
.The exported type IDocuNotionContext changed from
export type IDocuNotionContext = {
layoutStrategy: LayoutStrategy;
options: DocuNotionOptions;
getBlockChildren: IGetBlockChildrenFn;
notionToMarkdown: NotionToMarkdown;
directoryContainingMarkdown: string;
relativeFilePathToFolderContainingPage: string;
convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined;
pages: NotionPage[];
counts: ICounts;
imports: string[];
};
to
export type IDocuNotionContext = {
layoutStrategy: LayoutStrategy;
options: DocuNotionOptions;
getBlockChildren: IGetBlockChildrenFn;
notionToMarkdown: NotionToMarkdown;
pageInfo: IDocuNotionContextPageInfo;
convertNotionLinkToLocalDocusaurusLink: (url: string) => string | undefined;
pages: NotionPage[];
counts: ICounts;
imports: string[];
};
where IDocuNotionContextPageInfo
is
export type IDocuNotionContextPageInfo = {
directoryContainingMarkdown: string;
relativeFilePathToFolderContainingPage: string;
slug: string;
};
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago