Mac Services: Filter through Markdown
On the shell you can run:
pbcopy | mmd | pbpaste
to get text (Markdown) copied to the clipboard converted to HTML easily.
This procedure can be automated with Automator:
- Create a new service.
- Service receives selected
replaces selected text.
- Add Action named Run Shell Script
- Enter the following command into the text field, e.g.
- Save the Service and give it a descriptive name, e.g. Filter through Markdown.
Now you can filter text through Markdown in almost any application using Services → Filter through Markdown.