Add @ # commit link detect on all markdown render

This commit is contained in:
Unknown committed 2014-04-07 01:55:22 -04:00
1 parent e2fe220905
commit 8c9a0494ec
4 files changed
+41 -16

No files matched your search

+1 -1
View File
@@ -13,6 +13,6 @@ func Markdown(ctx *middleware.Context) {
content := ctx.Query("content")
ctx.Render.JSON(200, map[string]interface{}{
"ok": true,
"content": string(base.RenderMarkdown([]byte(content), "")),
"content": string(base.RenderMarkdown([]byte(content), ctx.Query("repoLink"))),
})
}