diff --git a/public/script.js b/public/script.js index cb48fe45a..6a800a9fc 100644 --- a/public/script.js +++ b/public/script.js @@ -679,6 +679,7 @@ function reloadMarkdownProcessor(render_formulas = false) { converter = new showdown.Converter({ emoji: "true", underline: "true", + tables: "true", parseImgDimensions: "true", extensions: [ showdownKatex( @@ -696,6 +697,7 @@ function reloadMarkdownProcessor(render_formulas = false) { emoji: "true", literalMidWordUnderscores: "true", parseImgDimensions: "true", + tables: "true", }); } diff --git a/public/style.css b/public/style.css index 9fa03bd64..16af7fa75 100644 --- a/public/style.css +++ b/public/style.css @@ -188,6 +188,18 @@ table.responsiveTable { text-align: center; } +.mes_text table { + border-spacing: 0; + border-collapse: collapse; +} + +.mes_text td, +.mes_text th { + border: 1px solid; + border-collapse: collapse; + padding: 0.25em; +} + .mes_text p { margin-top: 0; margin-bottom: 10px;