### 2025-01-14 星期二更新
---- #### SuperDesign V3.0.2501.1401 #### 项目功能 - *.[新增]生成列表Html日志支持分组显示。 - *.[新增]更新日志新增支持显示距离最近一次更新的用时。 - *.[改进]优化双击更新日志时的日志展示。 - *.[改进]右键插入更新日志时,支持识别分组并插入。 - *.[修复]修复更新日志如果包含####,生成的MD日志格式不正确的BUG。 #### 网页抓取工具 - *.[新增]新增提交时间显示。
This commit is contained in:
1 parent
2b0b38dd14
commit
9d3c5a384f
13 files changed
+262
-71
No files matched your search
@@ -15,11 +15,11 @@ namespace SuperDesign.Manager
|
||||
public static string GetMdLogText(JArray jarr, DateTime dt)
|
||||
{
|
||||
string log_text = "### " + DateTime.Now.ToString("yyyy-MM-dd dddd") + "更新";
|
||||
log_text += "\r\n------";
|
||||
log_text += "\r\n----";
|
||||
for (int i = 0; i < jarr.Count; i++)
|
||||
{
|
||||
var item = jarr[i];
|
||||
log_text += "\r\n#### " + item.GetJsonValue("ProjectName", "") + " V" + item.GetJsonValue("VerStr", "");
|
||||
log_text += "\r\n\r\n#### " + item.GetJsonValue("ProjectName", "").Trim() + " V" + item.GetJsonValue("VerStr", "");
|
||||
var logs = item.GetJsonValue("LogText", "").Replace("\r", "\n").Replace("\n\n", "\n").Split('\n');
|
||||
for (int m = 0; m < logs.Length; m++)
|
||||
{
|
||||
@@ -33,6 +33,10 @@ namespace SuperDesign.Manager
|
||||
{
|
||||
log_text += "\r\n- " + log_item;
|
||||
}
|
||||
else if (log_item.StartsWith("#### "))
|
||||
{
|
||||
log_text += "\r\n" + log_item;
|
||||
}
|
||||
else
|
||||
{
|
||||
log_text += "\r\n- *." + log_item;
|
||||
|
||||
Reference in new issue
Block a user