I’ve used BBEdit for years now. It’s fabulous for working with and processing text. Today I whisked up an Applescript that numbers selected lines so as to create a Markdown numbered list. The built-in line numbering function doesn’t seem to allow me to add the dot I want.

Screenshot of the script. Selected text. Selected text after numbering.