Brackets, Change the default syntax for a file extension
I am using the Adobe Brackets text editor.
I can't seem to find an answer for changing the default syntax to be used with certain file extensions (file-ext). In my case, I would like to change the default markdown syntax to instead use the included "Markdown (Github)" syntax. I assumed that there was an option somewhere to control this, as when I go to change the language manually, whilst editing a file, in the selection menu "Markdown" has the word Default afterwards.
How can I change the default syntax per file extension?
In the very top of that "File type selection" there is an option to set the current as default:
Alternatively, you can map file extensions (and file names) to existing languages in the preferences:
{
"language.fileExtensions": {
"md": "gfm"
}
}
Note: This is valid for at least the latest version of Brackets (1.4).
链接地址: http://www.djcxy.com/p/20182.html上一篇: Markdown:减号和反斜杠解释
下一篇: 括号,更改文件扩展名的默认语法