New languages: wiki markup dialects

This commit is contained in:
Radon Rosborough 2020-07-11 13:08:22 -06:00
parent 83697c7de0
commit 972aee4583
6 changed files with 68 additions and 18 deletions

View File

@ -191,6 +191,16 @@ int main() {
main: "main.lisp",
run: "rlwrap sbcl --userinit main.lisp",
template: `(format t "Hello, world!")
`,
},
confluence: {
aliases: ["jira", "atlassian"],
name: "Confluence",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f jira -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
cpp: {
@ -332,6 +342,16 @@ void main() {
compile: "cat main.dhall | dhall-to-json > main.json",
run: "cat main.json | jq .",
template: `{ output = "Hello, world!" }
`,
},
dokuwiki: {
aliases: ["doku"],
name: "DokuWiki",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f dokuwiki -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
elixir: {
@ -689,6 +709,16 @@ KTHXBYE
compile: "pandoc main.md -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
mediawiki: {
aliases: ["media"],
name: "MediaWiki",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f mediawiki -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
mips: {
@ -1230,6 +1260,16 @@ END
compile: "pandoc main.textile -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
tikiwiki: {
aliases: ["tiki"],
name: "Tiki Wiki",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f tikiwiki -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
toml: {
@ -1240,6 +1280,15 @@ END
compile: "cat main.toml | yj -tj > main.json",
run: "cat main.json | jq .",
template: `output = "Hello, world!"
`,
},
twiki: {
name: "TWiki",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f twiki -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
typescript: {
@ -1270,6 +1319,15 @@ END
run: `vim -c "$(< main.vim)"`,
lsp: "vim-language-server --stdio",
template: `:echo "Hello, world!"
`,
},
vimwiki: {
name: "Vimwiki",
monacoLang: "plaintext",
main: "main.txt",
compile: "pandoc main.txt -f vimwiki -o main.html",
run: "prettier --no-config main.html",
template: `Hello, world!
`,
},
visualbasic: {

View File

@ -15,7 +15,7 @@ body {
}
div.language {
width: 120px;
width: 140px;
height: 60px;
border: solid;
margin: 5px;

View File

@ -6,10 +6,6 @@ set -x
packages="
# Markdown
pandoc
prettier
# MIPS
gcc-mips64-linux-gnuabi64
qemu-user-static
@ -34,9 +30,6 @@ ocaml
# Octave
octave
# Org
pandoc
# Pascal
fpc
@ -61,16 +54,10 @@ r-base
# Racket
racket
# reStructuredText
pandoc
# RISC-V
gcc-riscv64-linux-gnu
qemu-user-static
# roff
pandoc
# Ruby
ruby
ruby-dev

View File

@ -42,9 +42,6 @@ liblua5.3-dev
luarocks
texlive-binaries
# Textile
pandoc
# Unlambda
unlambda

View File

@ -27,6 +27,9 @@ for file in /opt/rust/bin/*; do
ln -s /opt/rust/wrapper "/usr/bin/${file##*/}"
done
# Shared
npm install -g prettier
# Bash
npm install -g bash-language-server
@ -56,7 +59,7 @@ cpanm -n Devel::REPL
npm install -g intelephense
# Pug
npm install -g prettier pug-cli
npm install -g pug-cli
# ReasonML
npm install -g bs-platform

View File

@ -14,6 +14,11 @@ git clone https://github.com/circulosmeos/gdown.pl.git
mv gdown.pl/gdown.pl /usr/bin/gdown
rm -rf gdown.pl
# Shared
wget -nv https://github.com/jgm/pandoc/releases/download/2.10/pandoc-2.10-linux-amd64.tar.gz
tar -xf pandoc-*-linux-amd64.tar.gz -C /usr --strip-components=1
rm pandoc-*-linux-amd64.tar.gz
# Ada
wget -nv https://dl.bintray.com/reznikmm/ada-language-server/linux-latest.tar.gz
tar -xf linux-latest.tar.gz