diff --git a/README.md b/README.md index f1f191f..085de41 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ When using the server standalone without the client VS Code extension you can pa } ``` +Invoke the server with `markdoc-ls --stdio` from within your LSP client. + ### File extensions In order to distinguish Markdoc files from Markdown files, the Visual Studio Code extension expects Markdoc files to use one of the following file extensions: `.markdoc`, `.markdoc.md`, or `.mdoc`. diff --git a/package.json b/package.json index 1289cd6..6b15cb8 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,9 @@ "url": "https://github.com/markdoc/language-server.git" }, "main": "./dist/client/index.js", + "bin": { + "markdoc-ls": "dist/server/wrapper.js" + }, "scripts": { "build": "node build.mjs", "build:watch": "node build.mjs --watch", diff --git a/server/package.json b/server/package.json index 4d2f183..86652f8 100644 --- a/server/package.json +++ b/server/package.json @@ -5,9 +5,6 @@ "main": "dist/index.js", "author": "Ryan Paul", "license": "MIT", - "bin": { - "markdoc-ls": "dist/wrapper.js" - }, "devDependencies": { "@markdoc/markdoc": "^0.3.3", "@types/picomatch": "^2.3.0",