Skip to content

Pipe table not rendering as table using NormalizeRenderer #908

Open

Description

@PJProost

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?

Activity

  1. xoofx commented on Oct 28, 2025

    @xoofx
    Owner

    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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions