aboutsummaryrefslogtreecommitdiff
path: root/pkg/markup/markdown.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-31 18:14:40 -0400
committerUnknwon <u@gogs.io>2017-05-17 18:46:23 -0400
commit1b5a418fd33010a5b41994797f636d822904d51b (patch)
treefe48091c1351c4f808ca6b8566fe9330ea4dbb56 /pkg/markup/markdown.go
parenta11044f78954f5c173d686cd46833386cc43bc16 (diff)
modules/markup: initial support for org-mode (#4373)
Diffstat (limited to 'pkg/markup/markdown.go')
-rw-r--r--pkg/markup/markdown.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/markup/markdown.go b/pkg/markup/markdown.go
index 741f6f55..55e40dc3 100644
--- a/pkg/markup/markdown.go
+++ b/pkg/markup/markdown.go
@@ -116,7 +116,7 @@ func (options *MarkdownRenderer) ListItem(out *bytes.Buffer, text []byte, flags
options.Renderer.ListItem(out, text, flags)
}
-// RawMarkdown renders Markdown to HTML without handling special links.
+// RawMarkdown renders content in Markdown syntax to HTML without handling special links.
func RawMarkdown(body []byte, urlPrefix string) []byte {
htmlFlags := 0
htmlFlags |= blackfriday.HTML_SKIP_STYLE