我创建了一个 JSON 项目,其中还声明了一个构建系统,可以使用 pandoc 将我的 markdown 注释转换为 pdf。但是每次我尝试构建文件时,Sublime Text 都会使用另一个在项目设置 JSON 中未指定的构建系统,如下所示:
{
"folders":
[
{
"path": "Analysis I",
"folder_exclude_patterns": [
"docs"
]
},
{
"path": "Linear Algebra I",
"folder_exclude_patterns": [
"docs"
]
},
{
"path": "Computer Science",
"folder_exclude_patterns": [
"docs"
]
},
{
"path": "Physics I",
"folder_exclude_patterns": [
"docs"
]
}
],
"settings":
{
"tab_size": 4
},
"build_systems":
[
{
"name": "Document Builder",
"cmd": ["pandoc ${file_name} -o ${file_base_name}.pdf"],
"shell": true
}
]
}