replaced markdownsharp with markdowndeep, more refactoring