• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

custom-minimap-titles

Atom package that makes big titles out of ASCII art for quick reference in the minimap.
  • #figlet
  • #ascii art
  • #comment
  • #minimap
jalenconner
2.0.1 1,759
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Custom Minimap Titles

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

The chosen figlet font (Banner3) is perfect for minimap visualization. If you want to change the font, add the following into your Atom config:

"custom-minimap-titles":
  font: "Small"

All the available fonts can be found at http://patorjk.com/software/taag

Select some text to convert something like this:

hello world

into something like this:

##     ## ######## ##       ##        #######     ##      ##  #######  ########  ##       ########  
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##     ## ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##     ## ##       ##     ##
######### ######   ##       ##       ##     ##    ##  ##  ## ##     ## ########  ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##   ##   ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##    ##  ##       ##     ##
##     ## ######## ######## ########  #######      ###  ###   #######  ##     ## ######## ########  

you can also Toggle Comment Borders to put a border around the text to add more distinction in the minimap:

****************************************************************************************************
##     ## ######## ##       ##        #######     ##      ##  #######  ########  ##       ########
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##     ## ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##     ## ##       ##     ##
######### ######   ##       ##       ##     ##    ##  ##  ## ##     ## ########  ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##   ##   ##       ##     ##
##     ## ##       ##       ##       ##     ##    ##  ##  ## ##     ## ##    ##  ##       ##     ##
##     ## ######## ######## ########  #######      ###  ###   #######  ##     ## ######## ########
****************************************************************************************************

Note that Toggle Comment Borders determines border size based on your editors preferred line length.

The difference is slight and completely based on user preference:

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

To create comment borders around text to help distinguish sections in the minimap do the following:

  • Select Packages -> Minimap Titles -> Toggle Comment Borders from the main menu
  • Run the Convert command on your text as detailed above

Credits

Based on the following packages:

  • minimap-titles
  • atom-figletify
  • block-comment

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by