Table formatting is something wrong #47

Closed
opened 2026-01-29 14:23:04 +00:00 by claunia · 3 comments
Owner

Originally created by @geffzhang on GitHub (Aug 7, 2016).

The pandoc pipe table example, Only two columns of the table, analytical results are not expected:

| abc | def | 
|---|:---|
| cde| ddd| 
| eee| fff|
| fff | fffff   | 
|gggg  | ffff | 

test on babelmark

var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build();
var result = Markdown.ToHtml(markdownDocument, pipeline);

version 0.7.4

Originally created by @geffzhang on GitHub (Aug 7, 2016). The pandoc pipe table example, Only two columns of the table, analytical results are not expected: ``` | abc | def | |---|:---| | cde| ddd| | eee| fff| | fff | fffff | |gggg | ffff | ``` [test on babelmark](https://babelmark.github.io/?text=%7C+abc+%7C+def+%7C+%0A%7C---%7C%3A---%7C%0A%7C+cde%7C+ddd%7C+%0A%7C+eee%7C+fff%7C%0A%7C+fff+%7C+fffff+++%7C+%0A%7Cgggg++%7C+ffff+%7C+) var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build(); var result = Markdown.ToHtml(markdownDocument, pipeline); version 0.7.4
claunia added the bug label 2026-01-29 14:23:04 +00:00
Author
Owner

@christophano commented on GitHub (Sep 14, 2016):

I don't know if it helps, but this table works if you remove the trailing whitespace from the ends of a few of the lines.
I don't know what the spec says about triling whitespace on pipe tables (or indeed, if there is a spec).

@christophano commented on GitHub (Sep 14, 2016): I don't know if it helps, but this table works if you remove the trailing whitespace from the ends of a few of the lines. I don't know what the spec says about triling whitespace on pipe tables (or indeed, if there is a spec).
Author
Owner

@xoofx commented on GitHub (Sep 15, 2016):

@christophano yep, I'm on it.

@xoofx commented on GitHub (Sep 15, 2016): @christophano yep, I'm on it.
Author
Owner

@xoofx commented on GitHub (Sep 18, 2016):

This should be fixed by commit fa281f1

@xoofx commented on GitHub (Sep 18, 2016): This should be fixed by commit fa281f1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#47