New languages: wiki markup dialects
This commit is contained in:
parent
83697c7de0
commit
972aee4583
|
@ -191,6 +191,16 @@ int main() {
|
||||||
main: "main.lisp",
|
main: "main.lisp",
|
||||||
run: "rlwrap sbcl --userinit main.lisp",
|
run: "rlwrap sbcl --userinit main.lisp",
|
||||||
template: `(format t "Hello, world!")
|
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: {
|
cpp: {
|
||||||
|
@ -332,6 +342,16 @@ void main() {
|
||||||
compile: "cat main.dhall | dhall-to-json > main.json",
|
compile: "cat main.dhall | dhall-to-json > main.json",
|
||||||
run: "cat main.json | jq .",
|
run: "cat main.json | jq .",
|
||||||
template: `{ output = "Hello, world!" }
|
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: {
|
elixir: {
|
||||||
|
@ -689,6 +709,16 @@ KTHXBYE
|
||||||
compile: "pandoc main.md -o main.html",
|
compile: "pandoc main.md -o main.html",
|
||||||
run: "prettier --no-config main.html",
|
run: "prettier --no-config main.html",
|
||||||
template: `Hello, world!
|
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: {
|
mips: {
|
||||||
|
@ -1230,6 +1260,16 @@ END
|
||||||
compile: "pandoc main.textile -o main.html",
|
compile: "pandoc main.textile -o main.html",
|
||||||
run: "prettier --no-config main.html",
|
run: "prettier --no-config main.html",
|
||||||
template: `Hello, world!
|
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: {
|
toml: {
|
||||||
|
@ -1240,6 +1280,15 @@ END
|
||||||
compile: "cat main.toml | yj -tj > main.json",
|
compile: "cat main.toml | yj -tj > main.json",
|
||||||
run: "cat main.json | jq .",
|
run: "cat main.json | jq .",
|
||||||
template: `output = "Hello, world!"
|
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: {
|
typescript: {
|
||||||
|
@ -1270,6 +1319,15 @@ END
|
||||||
run: `vim -c "$(< main.vim)"`,
|
run: `vim -c "$(< main.vim)"`,
|
||||||
lsp: "vim-language-server --stdio",
|
lsp: "vim-language-server --stdio",
|
||||||
template: `:echo "Hello, world!"
|
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: {
|
visualbasic: {
|
||||||
|
|
|
@ -15,7 +15,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.language {
|
div.language {
|
||||||
width: 120px;
|
width: 140px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
border: solid;
|
border: solid;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
|
@ -6,10 +6,6 @@ set -x
|
||||||
|
|
||||||
packages="
|
packages="
|
||||||
|
|
||||||
# Markdown
|
|
||||||
pandoc
|
|
||||||
prettier
|
|
||||||
|
|
||||||
# MIPS
|
# MIPS
|
||||||
gcc-mips64-linux-gnuabi64
|
gcc-mips64-linux-gnuabi64
|
||||||
qemu-user-static
|
qemu-user-static
|
||||||
|
@ -34,9 +30,6 @@ ocaml
|
||||||
# Octave
|
# Octave
|
||||||
octave
|
octave
|
||||||
|
|
||||||
# Org
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# Pascal
|
# Pascal
|
||||||
fpc
|
fpc
|
||||||
|
|
||||||
|
@ -61,16 +54,10 @@ r-base
|
||||||
# Racket
|
# Racket
|
||||||
racket
|
racket
|
||||||
|
|
||||||
# reStructuredText
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# RISC-V
|
# RISC-V
|
||||||
gcc-riscv64-linux-gnu
|
gcc-riscv64-linux-gnu
|
||||||
qemu-user-static
|
qemu-user-static
|
||||||
|
|
||||||
# roff
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
ruby
|
ruby
|
||||||
ruby-dev
|
ruby-dev
|
||||||
|
|
|
@ -42,9 +42,6 @@ liblua5.3-dev
|
||||||
luarocks
|
luarocks
|
||||||
texlive-binaries
|
texlive-binaries
|
||||||
|
|
||||||
# Textile
|
|
||||||
pandoc
|
|
||||||
|
|
||||||
# Unlambda
|
# Unlambda
|
||||||
unlambda
|
unlambda
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,9 @@ for file in /opt/rust/bin/*; do
|
||||||
ln -s /opt/rust/wrapper "/usr/bin/${file##*/}"
|
ln -s /opt/rust/wrapper "/usr/bin/${file##*/}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Shared
|
||||||
|
npm install -g prettier
|
||||||
|
|
||||||
# Bash
|
# Bash
|
||||||
npm install -g bash-language-server
|
npm install -g bash-language-server
|
||||||
|
|
||||||
|
@ -56,7 +59,7 @@ cpanm -n Devel::REPL
|
||||||
npm install -g intelephense
|
npm install -g intelephense
|
||||||
|
|
||||||
# Pug
|
# Pug
|
||||||
npm install -g prettier pug-cli
|
npm install -g pug-cli
|
||||||
|
|
||||||
# ReasonML
|
# ReasonML
|
||||||
npm install -g bs-platform
|
npm install -g bs-platform
|
||||||
|
|
|
@ -14,6 +14,11 @@ git clone https://github.com/circulosmeos/gdown.pl.git
|
||||||
mv gdown.pl/gdown.pl /usr/bin/gdown
|
mv gdown.pl/gdown.pl /usr/bin/gdown
|
||||||
rm -rf gdown.pl
|
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
|
# Ada
|
||||||
wget -nv https://dl.bintray.com/reznikmm/ada-language-server/linux-latest.tar.gz
|
wget -nv https://dl.bintray.com/reznikmm/ada-language-server/linux-latest.tar.gz
|
||||||
tar -xf linux-latest.tar.gz
|
tar -xf linux-latest.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue