From 9c64f385479beb54490d939619254a1d215efe63 Mon Sep 17 00:00:00 2001 From: Shuhrat Dehkanov Date: Wed, 26 Nov 2025 17:45:19 +0900 Subject: [PATCH] Docs: add word wrapping to code blocks Removes horizontal scroll bar from long code lines. This also includes a small change in VS Code extensions page, that removes `[mdbook-shiki] Language 'ssh' not available, skipping` error message. --- docs/theme/custom.css | 1 + docs/vscode-extension.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/theme/custom.css b/docs/theme/custom.css index a920becd8..4280c1dd8 100644 --- a/docs/theme/custom.css +++ b/docs/theme/custom.css @@ -251,6 +251,7 @@ pre > code { display: block; padding: 0.9rem 1rem; font-family: var(--font-monospace); + white-space: pre-wrap; } /* Code blocks inside lists */ diff --git a/docs/vscode-extension.md b/docs/vscode-extension.md index bb028a4e1..dbf0cb70e 100644 --- a/docs/vscode-extension.md +++ b/docs/vscode-extension.md @@ -67,7 +67,7 @@ If you haven't configured the SSH host yet: 1. Open `~/.ssh/config` and add: - ```ssh + ```bash Host myserver HostName 192.168.1.100 User username