From 1b025aaf8b96ff0cda91c8e8babf18b5ae49fc2b Mon Sep 17 00:00:00 2001 From: brilliantbetty <139397375+brilliantbetty@users.noreply.github.com> Date: Wed, 12 Jul 2023 14:58:03 -0700 Subject: [PATCH 1/2] Update client.js --- client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.js b/client/client.js index dfae247..dcc7f85 100644 --- a/client/client.js +++ b/client/client.js @@ -138,7 +138,7 @@ var frontpage = [ "Formatting:", "Whitespace is preserved, so source code can be pasted verbatim.", "Surround LaTeX with a dollar sign for inline style $\\zeta(2) = \\pi^2/6$, and two dollars for display. $$\\int_0^1 \\int_0^1 \\frac{1}{1-xy} dx dy = \\frac{\\pi^2}{6}$$", - "For syntax highlight, wrap the code like: ``` ``` where is any known programming language.", + "For syntax highlight, wrap the code like: \n\\```` \n<the code>\n```` \nwhere is any known programming language.", "", "Current Github: https://github.com/hack-chat", "Legacy GitHub: https://github.com/AndrewBelt/hack.chat", From b56ccbef2b1b031fe5d0579c7ae8e23b5358000c Mon Sep 17 00:00:00 2001 From: brilliantbetty <139397375+brilliantbetty@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:23:38 -0700 Subject: [PATCH 2/2] Update client.js --- client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.js b/client/client.js index dcc7f85..097e926 100644 --- a/client/client.js +++ b/client/client.js @@ -138,7 +138,7 @@ var frontpage = [ "Formatting:", "Whitespace is preserved, so source code can be pasted verbatim.", "Surround LaTeX with a dollar sign for inline style $\\zeta(2) = \\pi^2/6$, and two dollars for display. $$\\int_0^1 \\int_0^1 \\frac{1}{1-xy} dx dy = \\frac{\\pi^2}{6}$$", - "For syntax highlight, wrap the code like: \n\\```` \n<the code>\n```` \nwhere is any known programming language.", + "For syntax highlight, wrap the code like: \\`\\`\\` \\`\\`\\` where is any known programming language.", "", "Current Github: https://github.com/hack-chat", "Legacy GitHub: https://github.com/AndrewBelt/hack.chat",