内联markdown的Vim语法高亮 [英] Vim syntax highlighting of inline markdown

查看:83
本文介绍了内联markdown的Vim语法高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前是否有任何vim插件可以让我在任意语言的注释块中突出显示markdown文本.那有可能吗?

Is there any current vim plugin that allow me to highlight markdown text in a comment block of any arbitrary languages. And is that possible?

推荐答案

看看我的在文件区域内突出显示不同的语法,并提供了:[range]SyntaxInclude markdown命令作为以及以编程方式执行此操作的功能.

Have a look at my SyntaxRange plugin. It is based on Different syntax highlighting within regions of a file, and provides a :[range]SyntaxInclude markdown command as well as functions to do so programmatically.

这篇关于内联markdown的Vim语法高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆