Skip to content

Commit 10fd40b

Browse files
committed
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.
1 parent 6182ee5 commit 10fd40b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/theme/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ pre > code {
251251
display: block;
252252
padding: 0.9rem 1rem;
253253
font-family: var(--font-monospace);
254+
white-space: pre-wrap;
254255
}
255256

256257
/* Code blocks inside lists */

docs/vscode-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If you haven't configured the SSH host yet:
6767

6868
1. Open `~/.ssh/config` and add:
6969

70-
```ssh
70+
```bash
7171
Host myserver
7272
HostName 192.168.1.100
7373
User username

0 commit comments

Comments
 (0)