How to adapt "Append to List" Dropbox action for iCloud

Has anyone modified the Append to List (Append to List | Drafts Directory) action to work with markdown files in iCloud, rather than Dropbox? What would I need to change? (I don’t know how to interpret, much less modify, the code, but with a little guidance, I’m willing to try!)

Thanks,
Russell