Is there anyway to format the markdown?

Thanks, this pointed me in the right direction. prettier was in the path but it seems that drafts has a limited path due to the sandbox, strangely it still failed when providing the full path.

Stumbled across this post Shell environment. The answer was to amend the path in the script which worked.

Will publish the action when it is a little more polished.

Thanks!