Select one or more lines of text you want to turn into a banner heading. Open the VS Code command palette with Ctrl-Shift-P or Cmd-Shift-P, and then use the following commands.
Normal use: use 3 heading levels consistently
"Set <h1|h2|h3> font": Choose figlet fonts to use for 3 heading levels: h1, h2 and h3. You might try Univers, Standard and Mini.
"Apply <h1|h2|h3> font": Text is transformed into one of 3 fonts you have chosen for heading levels h1, h2 and h3.
Special use: select fonts individually
You can select from the full list of figlet fonts.
"Apply from list"
Or you can make a short list of favorites and select from that.
"Add to favorites"
"Apply from favorites"
NOTE: Also supports multi-line selections:
Extension Settings
This extension contributes the following settings:
banner-comments.h1: "<figlet font name>"
banner-comments.h2: "<figlet font name>"
banner-comments.h3: "<figlet font name>"
banner-comments.favorites: [ <figlet font name>, ... ]
banner-comments.favorites: List of favorited fonts.
0.2.0
Fixed indentation issues where only the first line was indented correctly.
Converted apply and set font to "apply h* font" and "set h* font" with h1, h2 and h3.
Code cleaned and removed unused dependencies.
0.1.0
Now detects and uses the file's comment tags to wrap the banner text! (Uses the blockComment to wrap the text or puts lineComments in front of each line)
Auto-trims whitespaces from the end of each line of the banner.
0.0.1
Initial release of the 'Banner comments' extension.