{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Exports Notion pages and blocks to Markdown files or strings using the official Notion API, with support for downloading embedded files and images.","skillfed_tags":["notion-integration","markdown-export","cli-tool"],"use_cases":["Export Notion documentation or wiki pages to Markdown for use in static site generators like Hugo or Jekyll.","Batch convert Notion blog drafts to Markdown for publishing to platforms that accept Markdown input.","Back up Notion content as local Markdown files with embedded images and attachments downloaded.","Integrate Notion as a content source in a CI/CD pipeline that processes Markdown.","Extract structured Notion data (tables, synced blocks) into Markdown for version control or archival."],"what_it_does":"Notion2md is a command-line tool and Python library that converts Notion pages and blocks into Markdown format using the official Notion API. It can export content as standalone Markdown files or return it as a string, and optionally download embedded images and files to a local directory. The tool is built on notion-client (the official Notion SDK for Python) and cleo for CLI functionality.\n\nYou use it either as a shell command with options like --download and --unzipped, or programmatically by instantiating MarkdownExporter or StringExporter with a block ID and output path. It's designed for workflows where you want to extract Notion content for use in static site generators, blogs, or local documentation systems.","worth_installing":"Yes, if you need to export Notion content to Markdown and can accept dormant maintenance. The package is stable, has low install friction, no known vulnerabilities, and works with Python 3.7 through 3.12. However, the last release was 2024-01-10; if you encounter bugs or need support for newer Notion API features, you may need to fork or patch it yourself."},"id":"notion2md","links":{"html":"https://skillfed.io/packages/notion2md","md":"https://skillfed.io/packages/notion2md.md","pypi":"https://pypi.org/project/notion2md/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-01-10","license_spdx":null,"license_treatment":"permissive","name":"notion2md","python_support":"supports_current","summary":"Notion Markdown Exporter with Python Cli"},"popularity":{"monthly_downloads":257728,"position":8436,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.9.0"}
