能够根据特定文件类型,添加特定的注释项目
Opened this issue · 0 comments
Zhichao-Yan commented
想要支持新的语言:
语言:md类型文件
目前插件生成的模板:
---
author : xxx
Date : 2023-11-24 23:14:51 +0800
LastEditors : xxx
date : 2023-11-25 00:09:46 +0800
FilePath : xxx
Description :
QQ : xxx
Copyright (c) 2023,All Rights Reserved.
---
提供你最终想要的注释模板:
---
title: 内存对齐
date: 2023-11-19 00:20:00 +0800
categories: [default]
tags: [template]
author: chao
toc: true
comments: true
math: true
mermaid: true
img_path: /xxx/xxx
image:
path: /xxx/xxx
alt: somewhere
hidden: false
pin: true
excerpt_separator: <!--more-->
---
您的特性请求是否与问题相关?请描述
我需要为特定的文件类型或者语言,添加特殊的注释选项。
e.g 为md文件中注释添加categories选项,并且其他类型文件避免这个注释选项
描述一下你想要的解决方案.
我现在没有想到解决方案,也不知道解决方案该怎么做,
貌似插件提供的是所有文件必须使用特定的注释选项,顶多只是换个名字而已,能否根据文件类型自定义注释选项??
描述你考虑过的备选方案
没有备选方案
其他相关