Visual Studio自定义语法在代码编辑器中突出显示(用于markdown和Hugo)

时间:2018-10-29 18:04:16

标签: visual-studio markdown hugo

我正在Visual Studio中编辑markdown文件。降价文件将由Hugo(gohugo.io)使用,后者使用特定的短码语法。一个例子如下;

zuul:
  routes:
    auth: 
      path: /v1/txn/**
      service-id: txn-service
      strip-prefix: false
      sensitiveHeaders:
    cardproduct:
      path: /v1/customer/card/product/**
      service-id: card-service   // here you need to put application name .
      strip-prefix: false
      sensitiveHeaders:
    cardcomposite:
      path: /v1/customer/**
      service-id: customer-service
      strip-prefix: false
      sensitiveHeaders:

我希望将{{hyperlink}}和{{/ hyperlink}}都更改为不同的文本颜色。

Visual Studio是否可以做到这一点?如果可以,怎么办?

谢谢你 约翰

0 个答案:

没有答案
相关问题