Pipe table not rendering as table using NormalizeRenderer #758

Open
opened 2026-01-29 14:44:52 +00:00 by claunia · 1 comment
Owner

Originally created by @PJProost on GitHub (Oct 28, 2025).

Given this input;

| Typ              | Opis |
| ---------------- | ---- |
| `Authentication` | Certyfikat przeznaczony do uwierzytelniania w systemie KSeF.<br/>**keyUsage:** Digital Signature (80) |
| `Offline`        | Certyfikat przeznaczony wyłącznie do wystawiania faktur w trybie offline. Używany do potwierdzania autentyczności wystawcy i integralności faktury poprzez [kod QR II](kody-qr.md). Nie umożliwia uwierzytelnienia.<br/>**keyUsage:** Non-Repudiation (40) |

This code:

    var markdownPipeline = new MarkdownPipelineBuilder()
      .UsePipeTables()
      .Build();
    var markdownDoc = Markdown.Parse(inputString, markdownPipeline);

    using var writer = new StringWriter();
    var renderer = new Markdig.Renderers.Normalize.NormalizeRenderer(writer);
    markdownPipeline.Setup(renderer);
    renderer.Render(markdownDoc);
    var outputString = writer.ToString();

Outputs:

TypOpis`Authentication`Certyfikat przeznaczony do uwierzytelniania w systemie KSeF.<br/>**keyUsage:** Digital Signature (80)`Offline`Certyfikat przeznaczony wyłącznie do wystawiania faktur w trybie offline. Używany do potwierdzania autentyczności wystawcy i integralności faktury poprzez [kod QR II](kody-qr.md). Nie umożliwia uwierzytelnienia.<br/>**keyUsage:** Non-Repudiation (40)

So the table formatting got lost. Seems like a bug, or do I have an implementation error?

Originally created by @PJProost on GitHub (Oct 28, 2025). Given this input; ```markdown | Typ | Opis | | ---------------- | ---- | | `Authentication` | Certyfikat przeznaczony do uwierzytelniania w systemie KSeF.<br/>**keyUsage:** Digital Signature (80) | | `Offline` | Certyfikat przeznaczony wyłącznie do wystawiania faktur w trybie offline. Używany do potwierdzania autentyczności wystawcy i integralności faktury poprzez [kod QR II](kody-qr.md). Nie umożliwia uwierzytelnienia.<br/>**keyUsage:** Non-Repudiation (40) | ``` This code: ```C# var markdownPipeline = new MarkdownPipelineBuilder() .UsePipeTables() .Build(); var markdownDoc = Markdown.Parse(inputString, markdownPipeline); using var writer = new StringWriter(); var renderer = new Markdig.Renderers.Normalize.NormalizeRenderer(writer); markdownPipeline.Setup(renderer); renderer.Render(markdownDoc); var outputString = writer.ToString(); ``` Outputs: ```markdown TypOpis`Authentication`Certyfikat przeznaczony do uwierzytelniania w systemie KSeF.<br/>**keyUsage:** Digital Signature (80)`Offline`Certyfikat przeznaczony wyłącznie do wystawiania faktur w trybie offline. Używany do potwierdzania autentyczności wystawcy i integralności faktury poprzez [kod QR II](kody-qr.md). Nie umożliwia uwierzytelnienia.<br/>**keyUsage:** Non-Repudiation (40) ``` So the table formatting got lost. Seems like a bug, or do I have an implementation error?
claunia added the question label 2026-01-29 14:44:52 +00:00
Author
Owner

@xoofx commented on GitHub (Oct 28, 2025):

Unfortunately, the normalize renderer does not support tables #155 (and many other extensions)

I never got it finished, as it was way too much work.

@xoofx commented on GitHub (Oct 28, 2025): Unfortunately, the normalize renderer does not support tables #155 (and many other extensions) I never got it finished, as it was way too much work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#758