Skip to content

Commit e78e71a

Browse files
committed
remove terminal line junk for copy pasting
1 parent aaa8651 commit e78e71a

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

docs/Installation.ipynb

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"source": [
2222
"#### conda (minimal python)\n",
2323
"```bash\n",
24-
"(base) $ conda create -c conda-forge -n lsp 'python >=3.7,<3.8' 'jupyterlab=1.2' 'nodejs=11' python-language-server\n",
24+
"conda create -c conda-forge -n lsp 'python >=3.7,<3.8' 'jupyterlab=1.2' 'nodejs=11' python-language-server\n",
2525
"# Also consider: r-languageserver [*]\n",
26-
"(base) $ source activate lsp\n",
27-
"(lsp) $ pip install jupyter_lsp=0.7 --no-deps\n",
28-
"(lsp) $ jupyter lab build\n",
29-
"(lsp) $ jupyter lab \n",
26+
"source activate lsp\n",
27+
"pip install jupyter_lsp=0.7 --no-deps\n",
28+
"jupyter lab build\n",
29+
"jupyter lab \n",
3030
"```"
3131
]
3232
},
@@ -43,7 +43,7 @@
4343
"metadata": {},
4444
"source": [
4545
"##### `Dockerfile`\n",
46-
"```docker\n",
46+
"```dockerfile\n",
4747
"FROM jupyter/datascience-notebook:18ef2702c6a2\n",
4848
"\n",
4949
"RUN conda install --quiet --yes --freeze-installed \\\n",
@@ -97,7 +97,7 @@
9797
"source": [
9898
"##### Build and Start\n",
9999
"```bash\n",
100-
"$ PORT=8899 NAME=lsp PASSWORD=change-me-silly WORK_VOLUME=. docker-compose up\n",
100+
"PORT=8899 NAME=lsp PASSWORD=change-me-silly WORK_VOLUME=. docker-compose up\n",
101101
"```"
102102
]
103103
},
@@ -124,9 +124,9 @@
124124
"\n",
125125
"Verify your lab works:\n",
126126
"\n",
127-
"```\n",
128-
"$ jupyter lab --version\n",
129-
"$ jupyter lab\n",
127+
"```bash\n",
128+
"jupyter lab --version\n",
129+
"jupyter lab\n",
130130
"```\n",
131131
"\n",
132132
"[lab-conda]: https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html#conda\n",
@@ -150,7 +150,7 @@
150150
"Verify your node works and is findable from python.\n",
151151
"\n",
152152
"```bash\n",
153-
"(lsp) $ jlpm versions\n",
153+
"jlpm versions\n",
154154
"```"
155155
]
156156
},
@@ -159,9 +159,10 @@
159159
"metadata": {},
160160
"source": [
161161
"#### Install Jupyter[Lab] LSP\n",
162+
"\n",
162163
"```bash\n",
163-
"$ pip install jupyter_lsp\n",
164-
"$ jupyter labextension install @krassowitz/jupyterlab-lsp\n",
164+
"pip install jupyter_lsp\n",
165+
"jupyter labextension install @krassowitz/jupyterlab-lsp\n",
165166
"```"
166167
]
167168
},
@@ -173,15 +174,15 @@
173174
"A number of language servers are built on the [reference implementation](https://github.com/microsoft/vscode-languageserver-node), powered by NodeJS. The most reliable place to install these is in the same folder from which you launch `jupyter lab`. For example, to install all the servers which are tested as part of `jupyterlab-lsp`:\n",
174175
"\n",
175176
"```bash\n",
176-
"$ jlpm add \\\n",
177+
"jlpm add \\\n",
177178
" bash-language-server \\\n",
178179
" vscode-css-languageserver-bin \\\n",
179180
" dockerfile-language-server-nodejs \\\n",
180181
" vscode-html-languageserver-bin \\\n",
181182
" javascript-typescript-langserver \\\n",
182183
" vscode-json-languageserver-bin \\\n",
183184
" yaml-language-server \n",
184-
"$ jupyter lab\n",
185+
"jupyter lab\n",
185186
"```"
186187
]
187188
}

0 commit comments

Comments
 (0)