怪物奇妙物语

宇宙无敌超级美少男的怪物奇妙物语

首页 新随笔 联系 管理
  819 随笔 :: 0 文章 :: 2 评论 :: 16万 阅读

vscode 配置markdown的代码片及其不生效问题解决

markdown.json 的配置文件

// Place your snippets for markdown here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }

{
"insert code": {
"prefix": "ic",
"body": ["```$1", "$2", "```", "$0"],
"description": "insert code"
}
}

不生效则需要在 settings.json 中配置

{
"[markdown]": {
"editor.formatOnSave": false,
"editor.renderWhitespace": "all",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.acceptSuggestionOnEnter": "on"
}
}
posted on   超级无敌美少男战士  阅读(49)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· Trae初体验
历史上的今天:
2023-11-20 Linux mac 隐藏文件到图片
2022-11-20 装饰器函数的编写步骤
2022-11-20 装饰器 typesciprt
2022-11-20 as HTMLElement 拿到tagName
2022-11-20 拿到属性 data-id 中的id
2022-11-20 被装饰器装饰的函数的位置
2022-11-20 绑定事件
点击右上角即可分享
微信分享提示