'Markdown inside DataTable is adding paragraph around it
When markdown is used in DashTable, an additional <p> tag is added making the cell and intern all rows larger.
import dash
from dash import dash_table
app = dash.Dash()
app.layout = dash_table.DataTable(
[
{'Col1': 1, 'Col2': 2, 'Col3': 'Text3'},
{'Col1': 4, 'Col2': 5, 'Col3': 'Text6'}
],
[
{'name': 'Col1', 'id': 'Col1'},
{'name': 'Col2', 'id': 'Col2'},
{'name': 'Col3', 'id': 'Col3', 'presentation':'markdown'},
]
)
app.run_server(host='localhost', port=5050)
Is there a way to control this from markdown_options?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

