mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
Finish release
This commit is contained in:
@ -166,3 +166,7 @@ func RenderMarkdown(rawBytes []byte, urlPrefix string) []byte {
|
||||
// fmt.Println(string(body))
|
||||
return body
|
||||
}
|
||||
|
||||
func RenderMarkdownString(raw, urlPrefix string) string {
|
||||
return string(RenderMarkdown([]byte(raw), urlPrefix))
|
||||
}
|
||||
|
Reference in New Issue
Block a user