vscode markdown代码块高亮
时间: 2023-09-29 07:06:18 浏览: 239
前端显示代码高亮
在使用VSCode预览Markdown代码时,如果遇到没有高亮显示的情况,可以通过在代码块的第一行末尾加上相应的语言名称来实现高亮显示。代码块通过两行“```”符号框出,第一行末尾加上语言名称,代码块内的代码就会执行对应的高亮语法。例如,如果想要Python代码块有对应的高亮显示,可以在第一行末尾加上"python"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vscode预览markdown代码高亮](https://blog.csdn.net/yesjack/article/details/104556809)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [VSCODE配置Markdown,以及Markdown基础语法](https://blog.csdn.net/weixin_42011858/article/details/112752977)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文