Skip to content

Commit dd5378a

Browse files
committed
open markdown as preview already
1 parent 402db88 commit dd5378a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,24 @@
99
// "features": {},
1010

1111
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
"forwardPorts": [3000]
12+
"forwardPorts": [3000],
1313

1414
// Use 'postCreateCommand' to run commands after the container is created.
1515
// "postCreateCommand": "yarn install",
1616

1717
// Configure tool-specific properties.
18-
// "customizations": {},
18+
"customizations": {
19+
// Configure properties specific to VS Code.
20+
"vscode": {
21+
// Set *default* container specific settings.json values on container create.
22+
"settings": {
23+
"workbench.editorAssociations": {
24+
"*.md": "vscode.markdown.preview.editor",
25+
}
26+
},
27+
"extensions": [ "esbenp.prettier-vscode" ]
28+
}
29+
}
1930

2031
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2132
// "remoteUser": "root"

0 commit comments

Comments
 (0)