Trying to adapt a drafts script to save to md and not text to devonthink?

Hi all

posted first in the drafts forums but then realized its more proper to do this here:

I found in the action script directory of drafts only 1 script (by @agiletortoise) that actually works…

https://actions.getdrafts.com/a/1CY

problem is it saves as txt file where I want it to save it as .md

Looking the script it seems quite simple

x-devonthink://createText?title=[[title]]&location=''&text=[[body]]

I tried modifying it with no success

x-devonthink://createMarkdown?title=[[title]]&location=''&text=[[body]]

as it creates a weird iloc fie…

can anyone help me modify the script or refer to some documentation on this?

thx

Z

1 Like