How could I make placeholders work with this script?

See Script/URL Scheme to create markdown note with custom template? - #4 by cgrunenberg