janniks / vue-notion

A fast Vue renderer for Notion pages
https://vue-notion.now.sh
Other
883 stars 63 forks source link

Renders inner NotionCallout content #90

Open eliasparis opened 2 years ago

eliasparis commented 2 years ago

Hi @janniks hope you are doing good!

It looks like notion allows to include any kind of content within the Callout block. So you can have infinite nested content in them. I just opened a <slot /> within the NotionCallout component so it keep rendering the blocks.

Now we are capable to render the following blockMap:

Captura de pantalla 2022-04-11 a las 14 14 07

Thanks for your awesome block!

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/janniks/vue-notion/EWHE5SxxgE5Vtykq5LGAVhJjAScn
✅ Preview: https://vue-notion-git-fork-eliasparis-improve-callouts-janniks.vercel.app