{"repo":"brittonhayes/notionmd","free":true,"listed":false,"github":"https://github.com/brittonhayes/notionmd","clone":"git clone https://github.com/brittonhayes/notionmd.git","description":"🪄 Convert Markdown into Notion Blocks","language":"Go","stars":10,"topics":["markdown","notion","golang"],"license":"MIT","category":"productivity","readme_excerpt":"NotionMD Seamlessly Convert Markdown to Notion Blocks NotionMD is a Go package that bridges the gap between Markdown and Notion. It converts your Markdown content into Notion blocks, making it simple to integrate existing Markdown documents into your Notion workspace. Features - Markdown to Notion : Convert Markdown documents to Notion blocks with a single function call - Rich Content Support : Handles a variety of Markdown elements including headings, links, lists, and paragraphs - Large Document Handling : Efficiently processes large documents by breaking blocks into manageable chunks - Easy Integration : Designed to work seamlessly with Notion API clients Getting Started Installation Add NotionMD to your Go project: Basic Usage Here's a simple example of how to use NotionMD: Click to see the output API Options NotionMD provides two simple conversion functions to meet different needs: Option 1: Convert to Notion Blocks (requires go-notion library) Option 2: Convert to JSON (no external dependencies) If you want to work with the parsed blocks without external dependencies, you can get standard JSON maps: This approach is useful when you want to: - Process the blocks without external library dependencies - Work with the data as standard JSON - Use your own Notion client implementation - Convert to other formats or APIs Creating a Notion Page from Markdown This example demonstrates how to create a Notion page using the blocks parsed from a Markdown document: [!NOTE] Make sure ","default_branch":null,"files":null,"tree":[],"storefront":"/r/brittonhayes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brittonhayes/notionmd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}