diff --git a/src/styles/app.scss b/src/styles/app.scss index 2d53046af..138e9113f 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -218,6 +218,15 @@ div.brand { color: var(--code-color); background-color: var(--code-bg-color); border: 1px solid var(--code-border-color); + white-space: pre-wrap; + } + + pre code { + white-space: inherit; + } + + ul code { + display: block; } a.anchor::before {