markdig icon indicating copy to clipboard operation
markdig copied to clipboard

Inconsistent conversion from markdown to html for tables

Open TsvetanAtanasov opened this issue 1 year ago • 1 comments

Hi, I am trying to render a markdown table into html one.

var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build(); result.MessageHtml = Markdown.ToHtml(message.Content, pipeline);

I am using this code but sometimes the result is "

<code class="language-markdown">......"

When I re-render it, again it sometimes work and sometimes it does not. Any ideas how to fix this issue?

TsvetanAtanasov avatar Aug 05 '24 12:08 TsvetanAtanasov

you can try this https://github.com/yilihamujiang365-new/MarkdownSharp.NET/

ghost avatar Nov 23 '24 11:11 ghost