What's Changed
- Handle quote having no rendered children by @tjenkinson in #165
- Fix for newlines in table cells by @hradyho in #144
- fix: code blocks, inline code, and opt-in Markdown escaping (#176) by @souvikinator in #177
- bump 3.1.9 -> 3.1.10 by @souvikinator in #178
New Contributors
Full Changelog: v3.1.9...v3.1.10
New: opt-in Markdown escaping
Plain text like 2*3*4 or # not a heading can now be escaped so it renders exactly as typed in Notion. It's off by default, so your existing output won't change:
const n2m = new NotionToMarkdown({
notionClient: notion,
config: { escapeMarkdown: true }, // default: false
});NOTE: v3.x.x will only get urgent fixes from here on. We're picking v4 back up and trying to finish it up.
Due to architectural limitation and community requirements we are working on notion-to-md v4 with focus on:
- Expanding content format support beyond Markdown (MDX, JSX, HTML, LATEX....you name it!)
- Performance enhancements
- Enhanced support for static site generators and CMS workflow focused
- Greater customization for unique use cases
The latest v4 alpha release can be found here
Would appreciate your participation in the development, let us know if it'll handle your use case :)