mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Blazor WebAssembly App - Markdig - Can not render Pipe tables or Grid tables in Markdown #464
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ogglas on GitHub (May 17, 2021).
I have the following code in my editor:
It works really well with everything except tables. I have tried both pipe and grid tables that should be supported but I can't get them to render. What am I doing wrong?
https://github.com/xoofx/markdig
https://github.com/xoofx/markdig/blob/master/src/Markdig.Tests/Specs/PipeTableSpecs.md
https://github.com/xoofx/markdig/blob/master/src/Markdig.Tests/Specs/GridTableSpecs.md
Markdown:
Pipe table works here:
@mzomparelli commented on GitHub (May 24, 2021):
I have the same issue and I'm using Blazor server. It doesn't make sense to me that the framework would matter. I don't see how a utility that is parsing text into html would care that we're using Blazor.
@MihaZupan commented on GitHub (May 24, 2021):
@Ogglas you are calling
Markdown.ToHtml(Body);which uses the basic parsing and rendering pipeline.To add table support, use
It doesn't
@mzomparelli commented on GitHub (May 24, 2021):
@MihaZupan Thanks! That worked for me.
@Ogglas commented on GitHub (May 24, 2021):
@MihaZupan Thanks!