souvikinator / notion-to-md

Convert notion pages, block and list of blocks to markdown (supports nesting and custom parsing)
https://www.npmjs.com/package/notion-to-md
MIT License
1.11k stars 91 forks source link

page in markdown #33

Closed chrisyy2003 closed 2 years ago

chrisyy2003 commented 2 years ago

hi, i wanna ask that can i get the page_id in the pageblock not the link_to_page block? I3_MXG3GYR QJ7~I3GV`JUL

chrisyy2003 commented 2 years ago

I am exploring the possibility of notion + hugo, I want to automatically push my articles to my hugo blog when I only want to use notion, of course hugo is not the point, the point is how to determine the structure of the blog article through notion page block

souvikinator commented 2 years ago

Can you elaborate how do want the response to be? Like do you want page ids as well in the markdown output?

chrisyy2003 commented 2 years ago

yeah,how about like the same as the link_to_page you code [link_to_page](xxxx)?

souvikinator commented 2 years ago

Alright, quick update. This is done. Will be creating a new release soon.

souvikinator commented 2 years ago

This feature is available in the latest version (v2.4.0)