File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 43
43
tabComments : true ,
44
44
tabHeadings : true ,
45
45
} ,
46
+ // 更新日期
47
+ formatUpdated : '{YYYY}-{MM}-{DD} {HH}:{mm}:{ss}' ,
48
+ // 插件
49
+ plugins : [
50
+ function ( hook , vm ) {
51
+ // 底部
52
+ hook . beforeEach ( function ( content ) {
53
+ var url = 'https://github.com/JalanJiang/leetcode-notebook/tree/master/docs/' + vm . route . file ;
54
+ var editHtml = '> 🧐发现错误,想一起完善?[在 Github 编辑此页](' + url + ')!\n'
55
+
56
+ var footer = [
57
+ '----' ,
58
+ '> Last modified {docsify-updated}.' ,
59
+ '> [Jalan](http://jalan.space/), [Csming](https://csming1995.github.io/) ©2019. Proudly published with [docsify](https://github.com/docsifyjs/docsify) and powered by love.' ,
60
+ ] . join ( "\n" ) ;
61
+
62
+ return editHtml
63
+ + "\n----\n"
64
+ + content
65
+ + "\n\n"
66
+ + footer
67
+ } )
68
+ } ,
69
+ ]
46
70
}
47
71
</ script >
48
72
< script src ="//unpkg.com/docsify/lib/docsify.min.js "> </ script >
You can’t perform that action at this time.
0 commit comments