{"repo":"emoriarty/notion_to_md","free":true,"listed":false,"github":"https://github.com/emoriarty/notion_to_md","clone":"git clone https://github.com/emoriarty/notion_to_md.git","description":"Notion Markdown Exporter in Ruby","language":"Ruby","stars":18,"topics":["markdown","notion","ruby"],"license":"MIT","category":"productivity","readme_excerpt":"notion to md A Ruby library to export Notion pages and databases to Markdown. The output is fully compliant with the GitHub Flavored Markdown specification. [!NOTE] You are reading the documentation for the latest development branch. For the stable v2.x.x documentation, see the v2.x.x branch. Installation Install via RubyGems: Or add it to your Gemfile : Beta version Learn about the new changes in the following post. If you want to try the beta release , install with the --pre flag: Or pin the beta in your Gemfile: ⚠️ This version is under active development. For stable usage, prefer the latest 2.x.x release. Quick Start Usage Before using the gem, create a Notion integration and obtain a secret token. See the Notion Getting Started Guide for details. Pages md is a string containing the page content in Markdown format. Databases mds is an array of strings, one per page. Environment Variables If your token is stored in NOTION TOKEN , you don’t need to pass it explicitly: Supported Blocks Everything in Notion is a block object. Block type Nested children supported? ----------------------------------- ---------------------------- paragraph ✅ heading 1 / heading 2 / heading 3 ❌ bulleted list item ✅ numbered list item ✅ to do ✅ image, file, pdf, video ❌ bookmark, embed, link preview ❌ callout ❌ quote ❌ divider ❌ table ❌ code ❌ equation ❌ Front Matter By default, front matter is disabled . Enable it with: Examples Default properties: Custom properties: Custom property names are par","default_branch":null,"files":null,"tree":[],"storefront":"/r/emoriarty","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emoriarty/notion_to_md/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."}