Skip to content

Commit 1bd57ba

Browse files
docs(gen): add codespaces configuration MTA-4778 (#3549)
* docs(gen): add codespaces configuration MTA-4778 * docs(gen): add info file
1 parent 1d637ca commit 1bd57ba

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.devcontainer/devcontainer.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"customizations": {
3+
"vscode": {
4+
"extensions": ["unifiedjs.vscode-mdx"]
5+
}
6+
}
7+
}

.devcontainer/info.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Devcontainer, the Gihub Codespaces configuration file
2+
3+
This configuration is intended for [Github Codespaces](https://docs.github.com/en/codespaces) users.
4+
5+
The `devcontainer.json` file allows to specify a configuration that can be used to create a Codespace.
6+
7+
Refer to the official [Codespaces devcontainers documentation](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration) for more information.
8+
9+
## Elements
10+
11+
The code below forces the installation of the MDX extension for VSCode inside a Codespace.
12+
13+
```json
14+
{
15+
"customizations": {
16+
"vscode": {
17+
"extensions": ["unifiedjs.vscode-mdx"]
18+
}
19+
}
20+
}
21+
```
22+
23+
**Note:** The identifier of the extension (e.g. `unifiedjs.vscode-mdx`) can be found on the VSCode extension page, under "More info".

0 commit comments

Comments
 (0)