From 55311d852432348eb8defcf6e89e857d51ec0269 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 11 Jul 2020 12:07:40 -0600 Subject: [PATCH] New language: Markdown --- backend/src/langs.ts | 20 ++++++++++++++++++++ scripts/docker-install-phase3c.bash | 4 ++++ 2 files changed, 24 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index b912191..c527f3d 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -661,6 +661,26 @@ KTHXBYE template: " (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)\"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc\n", }, + markdown: { + aliases: [ + "mdown", + "mkdn", + "md", + "mkd", + "mdwn", + "mdtxt", + "mdtext", + "text", + "rmd", + ], + name: "Markdown", + monacoLang: "markdown", + main: "main.md", + compile: "pandoc main.md -o main.html", + run: "prettier --no-config main.html", + template: `Hello, world! +`, + }, mips: { aliases: ["mips64"], name: "MIPS", diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index b91737b..9895b21 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -6,6 +6,10 @@ set -x packages=" +# Markdown +pandoc +prettier + # MIPS gcc-mips64-linux-gnuabi64 qemu-user-static