From 4615a04e59760e57b600920d09d3538b577543c6 Mon Sep 17 00:00:00 2001 From: Leilei332 Date: Thu, 25 Jul 2024 12:13:58 +0800 Subject: [PATCH] Inline code should not follow "Wrap long lines in code blocks" option --- themes/tiddlywiki/vanilla/base.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 212c1da67..8ecb0e958 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -157,7 +157,6 @@ code { color: <>; background-color: <>; border: 1px solid <>; - white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}}; padding: 0 3px 2px; border-radius: 3px; font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}}; @@ -289,6 +288,7 @@ Markdown likes putting code elements inside pre elements */ pre > code { display: block; + white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}}; padding: 0.5em; border: none; background-color: inherit;