Skip to content

Commit 31305a7

Browse files
committed
update admonish
1 parent e3d9c9a commit 31305a7

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

book.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-dir = "docs"
1212

1313
[preprocessor.admonish]
1414
command = "mdbook-admonish"
15-
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`
15+
assets_version = "3.1.0" # do not edit: managed by `mdbook-admonish install`
1616

1717
[preprocessor.external-links]
1818

@@ -30,4 +30,4 @@ site-url = "./"
3030

3131
[output.html.fold]
3232
enable = true
33-
level = 0
33+
level = 0

src/device-guides/linux/tor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In the rare event that Tor is having connectivity issues, reset the connection:
2121

2222
This should work for most Debian-like systems, such as Debian, Ubuntu, Mint, PopOS etc.
2323

24-
<!-- @TODO should this paragraph be under "Debain Systems"? -->
24+
<!-- @TODO should this paragraph be under "Debian Systems"? -->
2525

2626
The following instructions will install the LTS (Long Term Support) version of Tor from your distro's default repository. If you would always like the latest stable release, the Tor Project maintains their own Debian/Ubuntu repository. The instructions for connecting to this official Tor Project repository can be found <a href="https://support.torproject.org/apt/tor-deb-repo" target="_blank">here</a>.
2727

src/user-manual/private-domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Use Case
1010

11-
A private domain is like to your server's [local domain](./connecting-locally.md#local-domain), except it also works for VPN connectivity, and it can be _anything_. It can be a real domain you control, a made up domain, or even a domain controlled by someone else.
11+
A private domain is similar to your server's [local domain](./connecting-locally.md#local-domain), except it also works for VPN connectivity, and it can be _anything_. It can be a real domain you control, a made up domain, or even a domain controlled by someone else.
1212

1313
Similar to your local domain, private domains can only be accessed when connected to the same LAN as your server, either physically or via VPN, and they require trusting your server's Root CA.
1414

theme/mdbook-admonish.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ html :is(.admonition-title, summary.admonition-title):last-child {
8686
display: initial;
8787
}
8888

89+
@media print {
90+
details.admonition::details-content {
91+
display: contents;
92+
}
93+
}
8994
details.admonition > summary.admonition-title::after {
9095
position: absolute;
9196
top: 0.625em;
@@ -106,6 +111,9 @@ details.admonition > summary.admonition-title::after {
106111
details[open].admonition > summary.admonition-title::after {
107112
transform: rotate(90deg);
108113
}
114+
summary.admonition-title::-webkit-details-marker {
115+
display: none;
116+
}
109117

110118
:root {
111119
--md-details-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.42Z'/></svg>");

0 commit comments

Comments
 (0)