-
Notifications
You must be signed in to change notification settings - Fork 329
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
Show nice data table view for CSV file with markdown transclusion pattern e.g. ![](link-to-file.csv)
#1233
Comments
I think this is a super cool feature 😉 |
(UPDATED)SituationMarkdown documents need to be enhanced by automatically converting CSV file references (e.g., ProblemThe challenge is to display the referenced CSV data as well-formatted, readable tables directly within the markdown documents, ensuring the data is both accessible and visually appealing. Solution
Appetite
Rabbit-holes
No-goesIgnoring edge cases such as: missing headers or special characters that could lead to incorrect table generation Appendixcc @olayway |
@gradedSystem you need to do way more shaping here. You really need to show you've understood the problem and that you have investigations solutions in detail. For example, i'd imagine you'd be looking at the existing code we have for the remark plugin that handles image transclusions etc. I imagine you'd be saying which table tool we'd be using for the rendering etc. |
+1 |
@rufuspollock @olayway I have updated the shape-up could you please review it? |
I'm not sure I understand your points in rabbit holes and no-goes sections. Can you elaborate? |
@gradedSystem As for the solution: Currently our
I'd say let's start with extending our existing plugin as it's easiest to implement. Also, creating a new plugin requires a bit more thought in my opinion, e.g. do we plan to support other file formats as well, do we keep the two plugins in sync feature-wise, is it even needed as most people are used to |
Currently, I have no idea what the rabbit holes could be. |
Now I think about it, is the following an improvement worth the effort? From this: For someone who uses this feature frequently and doesn't care about any table configuration options - yes, this may be a slight improvement. But probably more often than not, you'll also want to e.g. sort the table by some column or filter out some values, instead of displaying a raw file as is (see #1270). cc: @rufuspollock |
I think our FlatUiTable doesn't support other tabular formats atm. |
Would love a short-hand for have a data table using the classic markdown transclusion ...
Job story / Feature description
In markdown have this ...
And turns into a nice data table:
Other features
![title](path-to-file.csv)
![](...)
is at start of line ...Tasks
Tasks
Shaping
I think we can reuse a lot of code we use for pdf transclusion etc in our remark plugin ...
The text was updated successfully, but these errors were encountered: