-
-
Notifications
You must be signed in to change notification settings - Fork 196
Expand file tree
/
Copy pathdevcontainer.json
More file actions
57 lines (51 loc) · 2.01 KB
/
devcontainer.json
File metadata and controls
57 lines (51 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "PreTeXt-Codespaces",
// This Docker image includes some LaTeX support, but is still not to large. Note that if you keep your codespace running, it will use up your GitHub free storage quota. Additional options are listed below.
"image": "oscarlevin/pretext:small",
// If you need to generate more complicated assets (such as sageplots) or use additional fonts when building to PDF, comment out the above line and uncomment the following line.
// "image": "oscarlevin/pretext:full",
// If you only intend to build for web and don't have any latex-image generated assets, you can use a smaller image:
// "image": "oscarlevin/pretext:lite",
// The following was the previous version of this file, which used the Codespaces base image. It is still available for reference, but is not recommended.
// "image": "mcr.microsoft.com/devcontainers/python:3",
// "features": {
// "ghcr.io/devcontainers/features/node:1": {},
// "ghcr.io/rocker-org/devcontainer-features/pandoc:1": {}
// },
// "forwardPorts": [
// 27377,
// 27378
// ],
// "portsAttributes": {
// "27378": {
// "label": "CodeChat",
// "onAutoForward": "openPreview",
// "requireLocalPort": true,
// "elevateIfNeeded": true,
// "protocol": "https"
// }
// },
// "onCreateCommand": "pip install pretext",
// // Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo bash ./.devcontainer/postCreateCommand.sh",
// Configure tool-specific properties.
"customizations": {
"codespaces": {
"openFiles": [
"source/main.ptx"
]
},
"vscode": {
"settings": {
"editor.quickSuggestions": {
"other": "off"
},
"editor.snippetSuggestions": "top",
"xml.validation.enabled": false
},
"extensions": ["ms-vscode.live-server", "oscarlevin.pretext-tools"]
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}