Skip to content

Convert a text selection to ASCII art using FIGlet and auto-comment

License

Notifications You must be signed in to change notification settings

dvnkshl/atom-minimap-titles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimap Titles

Atom package to convert the selected text to ASCII art using FIGlet and then comment it.

The chosen figlet font (ANSI Shadow) is perfect for minimap visualization. Commenting supports several file extensions:

  • js
  • sh
  • yaml
  • coffee
  • html
  • md
  • php

Select some text to convert something like this:

hello world

into something like this:

# ██   ██ ███████ ██      ██       ██████      ██     ██  ██████  ██████  ██      ██████  
# ██   ██ ██      ██      ██      ██    ██     ██     ██ ██    ██ ██   ██ ██      ██   ██
# ███████ █████   ██      ██      ██    ██     ██  █  ██ ██    ██ ██████  ██      ██   ██
# ██   ██ ██      ██      ██      ██    ██     ██ ███ ██ ██    ██ ██   ██ ██      ██   ██
# ██   ██ ███████ ███████ ███████  ██████       ███ ███   ██████  ██   ██ ███████ ██████

Usage

To convert text, select the text you wish to convert, and do any of the following:

  • Press ctrl-shift-del or
  • Select Minimap Titles: Convert in the command palette or
  • Select Packages -> Minimap Titles Convert from the main menu or
  • Right click on the selected text, and select Minimap Titles: Convert from the context menu

Credits

Based on the following packages:

About

Convert a text selection to ASCII art using FIGlet and auto-comment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%