Skip to content

Add plain text support #1579

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

Merged
merged 2 commits into from
Jun 7, 2025
Merged

Add plain text support #1579

merged 2 commits into from
Jun 7, 2025

Conversation

Kajiih
Copy link
Contributor

@Kajiih Kajiih commented Jun 5, 2025

Discussed here: #1578
I chose white chip because there is no color in linguist.

ASCII art looks like this in my terminal:
image

I found that white was a bit too aggressive, so I picked a darker shade.

I also tried this, but it's pretty small:
Screen Shot 2025-06-06 at 01 49 38

Feel free to edit anything!

@o2sh
Copy link
Owner

o2sh commented Jun 6, 2025

Since there’s no logo for this, we can be creative. Here’s a suggestion for ASCII art that suggests “plain text”:

image

  ascii: |
    {0} -----------------
    {0}| ! " # $ % & ' ( |
    {0}| ) * + , - . / 0 |
    {0}| 1 2 3 4 5 6 7 8 |
    {0}| 9 : ; < = > ? @ |
    {0}| A B C D E F G H |
    {0}| I J K L M N O P |
    {0}| Q R S T U V W X |
    {0}| Y Z [ \ ] ^ _ ` |
    {0}| a b c d e f g h |
    {0}| i j k l m n o p |
    {0}| q r s t u v w x |
    {0}| y z { | } ~     |
    {0} -----------------
  colors:
    ansi:
      - white

@Kajiih
Copy link
Contributor Author

Kajiih commented Jun 6, 2025

I think it does a good job at suggesting plain text!

@o2sh
Copy link
Owner

o2sh commented Jun 7, 2025

maybe something less random :

image

  ascii: |
    {0} -----------------
    {0}| .txt ========== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}|                 |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0} -----------------
  colors:
    ansi:
      - white

@Kajiih
Copy link
Contributor Author

Kajiih commented Jun 7, 2025

I experimented with some variations of this, I think my favorite is something like:

  ascii: |
    {0} -----------------
    {0}| .txt ========== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| ============    |
    {0}|                 |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0}| =============== |
    {0} -----------------
  colors:
    ansi:
      - white

@o2sh
Copy link
Owner

o2sh commented Jun 7, 2025

Ok, you can commit it and I'll approve the PR

@o2sh o2sh merged commit 72532f0 into o2sh:main Jun 7, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants