1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Upgrade to latest Markdown processing engine

This commit is contained in:
Harvey Kandola 2018-02-09 13:34:53 +00:00
parent 1e2c468dc4
commit 0262763c95
22 changed files with 3560 additions and 2394 deletions

View file

@ -24,5 +24,5 @@ import (
// PagesHTML set to the given (*api.DocumentConversionRequest).Filedata converted by the blackfriday lib.
func Convert(ctx context.Context, in interface{}) (interface{}, error) {
return &api.DocumentConversionResponse{
PagesHTML: blackfriday.MarkdownCommon(in.(*api.DocumentConversionRequest).Filedata)}, nil
PagesHTML: blackfriday.Run(in.(*api.DocumentConversionRequest).Filedata)}, nil
}