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
Is it possible to generate borders with Markdown tables #863
Comments
For what it's worth, I think what Panel is doing with the input above is effectively:
The resulting And like this in a Jupyter notebook cell:
So it's possible to style it, presumably using the usual table CSS properties. |
In that case, unless Markdown developers want to add more features related to CSS style, it seems we can close this in this issue tracker. |
Python-Markdown simply outputs standard HTML for tables. As explained in the Markdown syntax rules "HTML is a publishing format; Markdown is a writing format." Whether borders are displayed and/or the style of those borders are publishing matters and outside the scope of Markdown. However, basic CSS rules for styling the HTML will work fine. In fact, as @jbednar points out, different tools use different default styles for the same input. If you want to use custom styles, you need to explore what provisions your tool uses to define custom styles. |
Thanks Waylan, There is a temporary solution found that can be found here: holoviz/panel#668 It may not be very elegant, yet it seems to work for a simple example. Thanks for the feedback. |
The panel group redirected me to your issue tracker to see if markdown can provide remedy for this issue.
I am using panel that uses markdown and I am trying to generate a table with borders. Here is the code I am using in panel:
The code generates a nice table, yet without borders.
Now the question is whether you can force table borders to be drawn in markdown or are visual look aspects need to be handled elsewhere by panel, bokeh, or some CSS.
It may be a question open for debate - will be happy to get feedback.
The text was updated successfully, but these errors were encountered: