mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Upgrade to latest Markdown processing engine
This commit is contained in:
parent
1e2c468dc4
commit
0262763c95
22 changed files with 3560 additions and 2394 deletions
|
@ -47,7 +47,7 @@ func (*Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.R
|
|||
|
||||
// Render converts markdown data into HTML suitable for browser rendering.
|
||||
func (*Provider) Render(ctx *provider.Context, config, data string) string {
|
||||
result := blackfriday.MarkdownCommon([]byte(data))
|
||||
result := blackfriday.Run([]byte(data))
|
||||
|
||||
return string(result)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue