Skip to content

Instantly share code, notes, and snippets.

@JulianGmp
Last active August 21, 2019 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulianGmp/a2b38212878c23d71de3d977214f2bf7 to your computer and use it in GitHub Desktop.
Save JulianGmp/a2b38212878c23d71de3d977214f2bf7 to your computer and use it in GitHub Desktop.
VSCode task to build ConTeXt documents
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "ConTeXt build",
"type": "shell",
// Keep in mind that the file path here has to be changed
"command": "context myfile.tex",
"group": {
"kind": "build",
"isDefault": true
// Since we set this task to the default build task, you can
// run it with a keyboard shortcut (Ctrl+Shift+B by default)
}
}
]
}
@JulianGmp
Copy link
Author

Don't mind those syntax errors, github follows the official json specification which doesn't include these comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment