We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用脚本编辑器模式时,个人认为默认的字体可读性较差:
我希望通过某种方式自定义字体和字号,但没有在 GUI 中找到相关入口。请问能否通过修改某个文件实现?
我已经进行过如下尝试:
monaco.editor.create
fontFamily
fontSize
fontLigatures
WebGAL_Terre/public/monaco-iframe/monaco.html
var editor = monaco.editor.create( document.getElementById("container"), { value: "", - language: "js" // 初始化语言为 javascript,可以根据需要修改 + language: "js", // 初始化语言为 javascript,可以根据需要修改 + fontFamily: "Maple Mono NF CN", + fontSize: 16, + fontLigatures: true, } );
经过以上步骤,脚本编辑器中的字体与字号并没有像预期那样变化。
The text was updated successfully, but these errors were encountered:
#335
Sorry, something went wrong.
No branches or pull requests
在使用脚本编辑器模式时,个人认为默认的字体可读性较差:
我希望通过某种方式自定义字体和字号,但没有在 GUI 中找到相关入口。请问能否通过修改某个文件实现?
我已经进行过如下尝试:
monaco.editor.create
的第二个参数使字体合适fontFamily
、fontSize
与fontLigatures
)复制到WebGAL_Terre/public/monaco-iframe/monaco.html
相应的函数调用中经过以上步骤,脚本编辑器中的字体与字号并没有像预期那样变化。
The text was updated successfully, but these errors were encountered: