Skip to content

Commit 256768a

Browse files
committed
修改渲染页面后,最后增加一个备注宏
1 parent 476da29 commit 256768a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

constant.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package confluence
2+
3+
//Confluence的备注宏,用于备注git的信息
4+
const ConfluenceNoteMacro = `
5+
<ac:structured-macro ac:name="note">
6+
<ac:parameter ac:name="icon">true</ac:parameter>
7+
<ac:parameter ac:name="title">Git提交信息</ac:parameter>
8+
<ac:rich-text-body>
9+
<p>%s</p>
10+
</ac:rich-text-body>
11+
</ac:structured-macro>
12+
`

0 commit comments

Comments
 (0)