Would love to see this! One possible solution would be using Kerjean’s Org Mode lib here:

I did something similar for Standard Notes: