refactor: \definelogo is now four mandatory parameters [ci skip] #137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
重要更新
由于原本的定义
\definelogo[vi/]{file}{hc}{vc}
中的可选参数是为了识别文件夹中的图片,该方法不够灵活,在 3.0.0 中改为
\definelogo{csname}{path}{hc}{vc}
其中 csname 不带
\
。以及现在 vi 文件夹中的图片皆带
sjtu-vi-
前缀,路径填写时添加文件名后缀以期加快速度。ci skip 是因为同步更新了 contrib 内的用法,运行 ci 会刷新 issue 的预览。