LRDOCS-1266 Markdown converter improvement