Skip to main content


Wordpress has a natively terrible blog/post editing interface and is horrible on mobile but sits nicely in my site, Notion rocks but lives in its own little ecosystem. Think I found the best middle ground, posts served by Wordpress but written via Notion.

Tried embedding, automating html exports, and the answer was literally so much easier.

Notion API (Integrations) → Bind a folder to be accessible to integration → In folder, have database with post id’s → Below code just pulls down database to grab all notebook ids (crontab scheduled)→ For each id export notebook as markdown → Convert markdown to html → Save markdown to Wordpress Accessible directory → Random GPT Generated PHP snippet to let me serve html in shortcode by id → bang


image.png

Leave a Reply