diff --git a/preview/codly-languages/README.md b/preview/codly-languages/README.md index df21a2c..1aeb2fc 100644 --- a/preview/codly-languages/README.md +++ b/preview/codly-languages/README.md @@ -13,7 +13,7 @@ Configure `codly` with the languages. Like this: #import "@preview/codly:1.0.0": * #show: codly-init -#import "@preview/codly-languages:0.1.0": * +#import "@preview/codly-languages:0.1.1": * #codly(languages: codly-languages) ``` diff --git a/preview/codly-languages/lib.typ b/preview/codly-languages/lib.typ index cd3be18..b26f437 100644 --- a/preview/codly-languages/lib.typ +++ b/preview/codly-languages/lib.typ @@ -113,26 +113,42 @@ // add aliases for our languages (e.g. so both "```typ" and "```typst" work) let aliases = ( - aarch64: ("arm"), - coffeescript: ("coffee"), - cplusplus: ("cpp", "cxx", "c++"), - csharp: ("cs", "c#"), - docker: ("dockerfile"), - fsharp: ("fs", "f#"), - go: ("golang"), - neovim: ("nvim"), - objectivec: ("objc", "obj-c"), - powershell: ("ps1"), - ruby: ("rb"), - rust: ("rs"), - sass: ("scss"), - shellscript: ("bash", "shell"), - ssh-config: ("ssh"), - typescript: ("ts"), - typst: ("typ", "typc", "typm"), - text: ("txt"), - vim: ("vimscript"), - visualbasic: ("vb"), + aarch64: ("arm"), + clojure: ("clj"), + clojurescript: ("cljs"), + coffeescript: ("coffee"), + cplusplus: ("cpp", "cxx", "c++"), + csharp: ("cs", "c#"), + docker: ("dockerfile"), + elixir: ("ex"), + erlang: ("erl"), + fsharp: ("fs", "f#"), + go: ("golang"), + haskell: ("hs"), + javascript: ("js"), + julia: ("jl"), + kotlin: ("kt"), + neovim: ("nvim"), + objectivec: ("objc", "obj-c"), + ocaml: ("ml"), + perl: ("pl"), + powershell: ("ps1"), + python: ("py"), + ruby: ("rb"), + rust: ("rs"), + sass: ("scss"), + scala: ("sc"), + shellscript: ("bash", "shell", "sh"), + solidity: ("sol"), + ssh-config: ("ssh"), + stylus: ("styl"), + terraform: ("tf"), + text: ("txt"), + typescript: ("ts"), + typst: ("typ", "typc", "typm"), + vim: ("vimscript"), + visualbasic: ("vb"), + yaml: ("yml") ) for (lang, aliases) in aliases { for alias in aliases { diff --git a/preview/codly-languages/typst.toml b/preview/codly-languages/typst.toml index fd42986..d13ebb5 100644 --- a/preview/codly-languages/typst.toml +++ b/preview/codly-languages/typst.toml @@ -1,6 +1,6 @@ [package] name = "codly-languages" -version = "0.1.0" +version = "0.1.1" entrypoint = "lib.typ" authors = ["Stephen Waits "] license = "MIT"