Prettier for MarkEdit that leverages markedit-api.
Copy dist/markedit-prettier.js to ~/Library/Containers/app.cyan.markedit/Data/Documents/scripts/.
You can also run yarn install && yarn build to build and deploy the script.
Run Prettify Content from the menu bar or press Shift-Control-Command-P.