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:
parent
1e2c468dc4
commit
0262763c95
22 changed files with 3560 additions and 2394 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue