Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent conversion from markdown to html for tables #812

Open
TsvetanAtanasov opened this issue Aug 5, 2024 · 1 comment
Open

Inconsistent conversion from markdown to html for tables #812

TsvetanAtanasov opened this issue Aug 5, 2024 · 1 comment
Labels

Comments

@TsvetanAtanasov
Copy link

TsvetanAtanasov commented Aug 5, 2024

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 TsvetanAtanasov changed the title Inconsistent conversion from markdown to html Inconsistent conversion from markdown to html for tables Aug 6, 2024
@xoofx xoofx added the question label Sep 7, 2024
@yilihamujiang365-new
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants