浏览代码

Make extension shell examples have bash highlighting

Jason Grout 7 年之前
父节点
当前提交
eb0d8e1e76
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      docs/source/user/extensions.md

+ 7 - 7
docs/source/user/extensions.md

@@ -27,7 +27,7 @@ The base JupyterLab application includes a core set of extensions, which provide
 the features described in this User Guide (Notebook, Terminal, Text Editor, etc.)
 the features described in this User Guide (Notebook, Terminal, Text Editor, etc.)
 You can install new extensions into the application using the command:
 You can install new extensions into the application using the command:
 
 
-```
+```bash
 jupyter labextension install <foo>
 jupyter labextension install <foo>
 ```
 ```
 
 
@@ -35,7 +35,7 @@ where `<foo>` is the name of a valid JupyterLab extension npm package on
 [npm](https://www.npmjs.com). Use the `<foo>@<foo version>` syntax to install a
 [npm](https://www.npmjs.com). Use the `<foo>@<foo version>` syntax to install a
 specific version of an extension, for example:
 specific version of an extension, for example:
 
 
-```
+```bash
 jupyter labextension install <foo>@1.2.3
 jupyter labextension install <foo>@1.2.3
 ```
 ```
 
 
@@ -51,13 +51,13 @@ topic.
 
 
 You can list the currently installed extensions by running the command:
 You can list the currently installed extensions by running the command:
 
 
-```
+```bash
 jupyter labextension list
 jupyter labextension list
 ```
 ```
 
 
 Uninstall an extension by running the command:
 Uninstall an extension by running the command:
 
 
-```
+```bash
 jupyter labextension uninstall <bar>
 jupyter labextension uninstall <bar>
 ```
 ```
 
 
@@ -75,7 +75,7 @@ you may want to defer rebuilding the application by including the flag
 `--no-build` in the install/uninstall step.
 `--no-build` in the install/uninstall step.
 Once you are ready to rebuild, you can run the command:
 Once you are ready to rebuild, you can run the command:
 
 
-```
+```bash
 jupyter lab build
 jupyter lab build
 ```
 ```
 
 
@@ -84,7 +84,7 @@ jupyter lab build
 You may want to disable specific JupyterLab extensions without rebuilding
 You may want to disable specific JupyterLab extensions without rebuilding
 the application. You can disable an extension by running the command:
 the application. You can disable an extension by running the command:
 
 
-```
+```bash
 jupyter labextension disable <bar>
 jupyter labextension disable <bar>
 ```
 ```
 
 
@@ -93,7 +93,7 @@ from loading in the browser, but does not require a rebuild.
 
 
 You can re-enable the extension later using the command:
 You can re-enable the extension later using the command:
 
 
-```
+```bash
 jupyter labextension enable <foo>
 jupyter labextension enable <foo>
 ```
 ```