rnovicky / notion-plantuml

Generate PlantUML diagram from Notion code block using Notion API and Kroki.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notion-plantuml

Generates PlantUML diagram (PNG) from Notion code block using Notion API and Kroki.

This script needs to be run outside, accessible by Notion and able to access the Notion API.

In Notion, embed link to the script with the id of the code block in blockId. The id of the block can be found by copying its link -> the part after the # sign is the id.

https://path/to/script.php?blockId=123456789 -> PNG image file.

About

Generate PlantUML diagram from Notion code block using Notion API and Kroki.

License:MIT License


Languages

Language:PHP 100.0%