Skip to content

Commit 96f5245

Browse files
committed
Fix hl_lines
1 parent a16ce3c commit 96f5245

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/assets/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@
1414
--md-default-fg-color: #e9e9e9;
1515
}
1616

17+
/* Fix indentation shift on highlighted lines */
18+
.md-typeset pre > code > span.hll {
19+
margin-left: 0 !important;
20+
padding-left: 0 !important;
21+
display: inline-block;
22+
width: 100%;
23+
box-sizing: border-box;
24+
}
25+
1726
/* Fix a horizontal scroll isue */
1827
.md-typeset * {
1928
margin-left: 0 !important;

docs/deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ server.
1010

1111
If a service has a `build:` section, add your own `image:` name and version tag:
1212

13-
```yaml title="app/compose.yaml" hl_lines=3
13+
```yaml title="app/compose.yaml" hl_lines="5"
1414
services:
1515
caddy:
16-
image: ghcr.io/youruser/yourapp-caddy:0.1.0
1716
build:
1817
context: ./caddy
18+
image: ghcr.io/youruser/yourapp-caddy:0.1.0
1919
```
2020
2121
Build and push your images:

0 commit comments

Comments
 (0)