I added a new extension to my PopClip collection this morning. It creates comments of various syntax from selected text. It’s called, creatively enough, the Comment Extension.
By default it creates HTML comments (which work well in Markdown files, too). Holding down various keys creates other types:
- Option: CSS Comment (
/* block of text */)
- Command: Hash Comment (
# before each line)
- Command-Option: Slash comment (
// before each line)
The bundle is updated with the new extension, you can download below. The source is all up on GitHub.