add \n before goto top

This commit is contained in:
Huang,Yonggang 2024-04-16 18:58:03 +08:00
parent ce0214333f
commit d487aae378
2 changed files with 6 additions and 1 deletions

View File

@ -96,7 +96,7 @@ function makedaylog(date){
var outputfilename = gitpath + timelog.output ;
var outputstr = fs.readFileSync(outputfilename, 'utf8')
logstr = logstr + "\n[top](#top) | [index](#index)\n<a id=\"" + timelog.begin + "\"></a>\n" + outputstr;
logstr = logstr + "\n\n[top](#top) | [index](#index)\n<a id=\"" + timelog.begin + "\"></a>\n" + outputstr;
}
var daylog = daylog + indexstr + "\n---\n" + logstr ;

View File

@ -35,6 +35,7 @@
---
[top](#top) | [index](#index)
<a id="20240416074500"></a>
## 7:45~8:44
@ -113,6 +114,7 @@ task:
参考:
- https://github.com/frappe/gantt 的甘特图json数据结构
[top](#top) | [index](#index)
<a id="20240416093000"></a>
## 9:30~10:59
@ -403,6 +405,7 @@ log: |
下一步的工作:
- 根据COM的讨论和COD的执行产生修订error、term、termset的task metadata在ego或COD分配资源时使用从而形成闭环。
[top](#top) | [index](#index)
<a id="20240416140000"></a>
## 14:00~14:29
@ -417,6 +420,7 @@ draft自动生成日小结
输出D:\huangyg\git\blog\release\time.js
- makedaylog(date)
[top](#top) | [index](#index)
<a id="20240416143000"></a>
## 14:30~14:59
@ -431,6 +435,7 @@ ego entry页面显示markdown
- 网页使用ifram读取codeberg page同域名下的日志文件被自动下载。
下一步试试修改iframe属性获得内容后试试onload()中解析markdown内容。
[top](#top) | [index](#index)
<a id="20240416160000"></a>
## 16:00~16:59