diff --git a/extensions/langs/package.json b/extensions/langs/package.json index 563e85b0b..645bba777 100644 --- a/extensions/langs/package.json +++ b/extensions/langs/package.json @@ -34,6 +34,7 @@ "@codemirror/lang-json": "^6.0.0", "@codemirror/lang-less": "^6.0.1", "@codemirror/lang-lezer": "^6.0.0", + "@codemirror/lang-liquid": "^6.0.1", "@codemirror/lang-markdown": "^6.1.0", "@codemirror/lang-php": "^6.0.0", "@codemirror/lang-python": "^6.1.0", @@ -43,8 +44,8 @@ "@codemirror/lang-vue": "^0.1.1", "@codemirror/lang-wast": "^6.0.0", "@codemirror/lang-xml": "^6.0.0", - "@codemirror/language-data": "^6.0.0", - "@codemirror/legacy-modes": "^6.0.0", + "@codemirror/language-data": ">=6.0.0", + "@codemirror/legacy-modes": ">=6.0.0", "@nextjournal/lang-clojure": "^1.0.0", "@replit/codemirror-lang-csharp": "^6.1.0", "@replit/codemirror-lang-nix": "^6.0.1", diff --git a/extensions/langs/src/index.ts b/extensions/langs/src/index.ts index b558640cf..6b8db4d3c 100644 --- a/extensions/langs/src/index.ts +++ b/extensions/langs/src/index.ts @@ -16,6 +16,7 @@ import { rust } from '@codemirror/lang-rust'; import { cpp } from '@codemirror/lang-cpp'; import { lezer } from '@codemirror/lang-lezer'; import { php } from '@codemirror/lang-php'; +import { liquid } from '@codemirror/lang-liquid'; import { wast } from '@codemirror/lang-wast'; import { vue } from '@codemirror/lang-vue'; import { angular } from '@codemirror/lang-angular'; @@ -189,6 +190,7 @@ export const langs = { q: () => StreamLanguage.define(q), sas: () => StreamLanguage.define(sas), sass: () => sass(), + liquid: () => liquid(), mermaid: () => mermaid(), nix: () => nix(), svelte: () => svelte(),