mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-08 21:37:02 +00:00
Grid table without table column widths #375
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 @2steuer on GitHub (Jun 10, 2020).
Hi,
First off: I just discovered your package yesterday and it is exactly what I was looking for. Absolutely works like a charm for my use case. Thank you!
I just have one little request: Is it possible to disable the column width output for grid tables? If not, could you give me a little hint where to look - I will be very happy to submit a pull request then.
Thank you!
Merlin
@MihaZupan commented on GitHub (Jun 10, 2020):
I'd say the easiest way to achieve it is to reset column widths after parsing the document
@2steuer commented on GitHub (Jun 10, 2020):
Ah, that is one solution, great!
I had looked into HtmlRenderer and the Html Renderer for GridTables, but I have too little knowledge where to modify their properties while parsing/rendering. In my simple mind it'd be a "InlcudeColumnWidths" Property which is a condition around the few lines of code that print the elements.
This, however, looks like a fine way of accomplishing it for now.
Thank you!