Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contribution: convert aha's html output to github-compatible html #81

Open
milahu opened this issue Dec 4, 2020 · 0 comments
Open

contribution: convert aha's html output to github-compatible html #81

milahu opened this issue Dec 4, 2020 · 0 comments

Comments

@milahu
Copy link

milahu commented Dec 4, 2020

i made a wrapper script, to convert aha's html output to github-compatible html

https://github.com/milahu/random/blob/master/colors-to-github.sh

on github, we need <pre><span color="red">red</span></pre> etc

demo:

colors-to-github.sh jp2a 'awesome face.png'

                                
         .;ldkO00Okdl;.         
      .o0XXXXXXXXXXXXXX0o.      
    .kKKXXXXXXXXXXXXKKXXXXk'    
   ::dk: :0XXXXXXdcdkd.'xXXXo   
  o.NMMc ..KXXXX:dMMM0...dXXXd  
 'O,MMMMMM;kXXXX.MMMMMMMX'XXXX, 
 oXloooooolKXXXXoooooooolxXXXXd 
 oXKkkkkkkkkkkkkkkkkkkkkkXXXXXo 
 'XKk .................. dXXXX, 
  oXXc...................lXXXd  
   lXX:.......':lolc,....KXXo   
    .kXx....'oKKKKKKKc.cKXk'    
      .l0kc,;oxxdolccxK0o.      
          .cdxxxkkkdc'          
                                
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant