goolord / alpha-nvim

a lua powered greeter like vim-startify / dashboard-nvim
MIT License
1.82k stars 109 forks source link

How to show ANSI escaped colors ASCII art? #292

Closed hirenchauhan2 closed 2 days ago

hirenchauhan2 commented 1 month ago

Hi,

I'm looking for a way to show the ASCII art with colors which I generated using RASCII tool. But I'm unable to render the output correctly on the dashboard in neovim. I've seen in the wiki people do mapping the each segments with some text and highlight that block. How to do with with ANSI escaped colors text?

Here's the Zenitsu ASCII art I want to display on the dashboard.

image

goolord commented 1 month ago

i think someone somewhere has written code that generates code for the vim highlighted version of ansi escaped colors for alpha, but you could also just the terminal element

hirenchauhan2 commented 2 days ago

Got it, thanks!