-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] make simple colspan in pipe_tables work #10463
Comments
For discussion see |
ok i have read the discussion starting from you link. i am now largely confused and dont know what to make out of it.
to summarize:
i would like to implement the feature in a lua-filter but for the reason stated above this is not possible without changes in the pandoc parser. i am also not inclined to invent new syntax for supporting this in a lua-filter when there are multiple implementations already out in the field that do the same. hence confused. |
You're confused because I list both pros and cons? I think that it is probably worth implementing something like this feature in pipe tables, but I've wanted to think more about all the possibilities before locking in syntax. And...I have other things to do, as well. For now...just use a grid table! |
sorry now i understand ... dont take this as persuasion to implement the feature asap, but as user-feedback to make you understand my point and possible to help you in your decision making. ok, let me relist the proposed features: 1 - maybe it gets easier to view this as a 20:80 problem, what is easy to implement and has a large acceptance target. also to consider the usage by casual vs advanced users that will also use custom (lua-)filter to further massage output.
in my case i would consider myself an advanced user, but then my use-cases are mostly implemented for casual users that use my templates and filters almost verbatim since they lack the in-depth knowledge ... so i care for both. from an architectural point, you could argue that "pipe_tables" are good as they are now and that the expansion of features would warrant a "smart_pipe_tables" extension. that would also preserve existing user experience and expectations. |
Describe your proposed improvement and the problem it solves.
the pipe table here
will look like this:
the table is rendered with pandoc to typst source and then using typst to pdf:
the pipe table is formatted according to https://github.com/vsch/flexmark-java/wiki/Tables-Extension.
Especially this rule:
Edge cases: since the rule does only allow to "eat" cells from the right side for spanning the following two cases have undefined behavior.
or do you have a good idea ?
Describe alternatives you've considered.
1 - considered to switching to other tables styles, but pipe-tables are so easy to explain to non-tech people.
2 - massaging the table cells with a lua script, which did not work because the surrounding whitespace is eaten making "
| |
" and "||
" indistinguishable.The text was updated successfully, but these errors were encountered: