From 20c8972557c3ff51345ab3ee08174c12f4c0f603 Mon Sep 17 00:00:00 2001 From: ParadoxV5 Date: Sat, 13 Jul 2024 23:15:36 -0600 Subject: [PATCH] Update highlight.js demo link & add `ansi` guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hotfix dead link the guide, I’ll review later to see if it’s complete and up-to-date --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fe2e82..e7bf4eb 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ Mobile does not support syntax highlighting (yet?). >
⸺ Ruby Discord #rules [screenshotted PTB309567] (using with original author’s permission) Different languages have more-or-less different approaches to highlightable syntax. -Complete list with previews (possibly different colors): [highlight.js demo](https://highlightjs.org/static/demo/) +* (Almost) complete list with previews (possibly different colors): [highlight.js demo](https://highlightjs.org/demo) +* `ansi` guide: https://gist.github.com/kkrypt0nn/a02506f3712ff2d1c8ca7c9e0aed7c06 Note that if there’s a space anywhere on the line after the beginning backticks (where your language goes), Discord takes that you forgot the good habit and treats it as part of your content.