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

Add echo example #482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GearsDatapacks
Copy link
Member

As requested by Hayleigh on discord

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. This is missing the colour of the output though!

@GearsDatapacks
Copy link
Member Author

Ah true. How can we add colour? Does the website support ansi highlighting?

@Rhal95
Copy link

Rhal95 commented Mar 9, 2025

The website uses highlightjs. I don't think it supports exact custom highlighting but you can use one of the build in schemas.
You used txt (alias for plaintext) which effectively disables highlighting.
I pasted the example here and it figured out that apache does some highlighting.
I can not try it out rn but I think it should be fine if you remove the txt in the code block to let the lib figure out the highlighting

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.

3 participants