ASCII block comments

I meant to post this a few months ago...quite helpful if you use Sublime:

  1. Grab the Sublime Package "ASCII Decorator" (https://github.com/viisual/ASCII-Decorator)
  2. Optionally download more fonts, e.g. "ANSI Shadow" (https://github.com/patorjk/figlet.js/blob/master/fonts/ANSI%20Shadow.flf)
  3. Put those in the fonts folder ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ASCII\ Decorator/pyfiglet/fonts/
  4. Set your defaults to use comments, block style, and a custom font in ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ASCII\ Decorator/ASCII\ Decorator.sublime-settings
    "default_insert_as_comment": true
    "default_comment_style_preference": "block"
    "ascii_decorator_font": "univers"

Type a word or line, select it, and then win at life (cmd+shift+k).

Sublime ASCII block comments

Justin Rodermond

Designer & developer. I have a land dolphin named Lois who helps me write Javascript and PHP. You can reach me at jrode@jrode.com.


comments powered by Disqus