Browse Source

Wrap code lines in rendered Editor content

jerryliao 2 days ago
parent
commit
901516f778
1 changed files with 2 additions and 0 deletions
  1. 2 0
      static/markdown.css

+ 2 - 0
static/markdown.css

@@ -2,6 +2,8 @@ pre {
   background-color: #f5f5f5;
   padding: 0.5rem 0.25rem;
   border-radius: 0.25rem;
+  white-space: pre-wrap;
+  overflow-wrap: break-word;
 }
 table {
   border-collapse: collapse;