summaryrefslogtreecommitdiff
path: root/website/content/usage
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2025-05-17 20:20:19 +0200
committermo8it <mo8it@proton.me>2025-05-17 20:20:19 +0200
commit8fa598ae7eb8c014657cea787376109b7f4c5d18 (patch)
tree164fed24b93a459b672025eea15e0831526c7c7e /website/content/usage
parent2f700991f32de65ad8a6972edfa688731fa528f4 (diff)
Add details shortcode
Diffstat (limited to 'website/content/usage')
-rw-r--r--website/content/usage/index.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/website/content/usage/index.md b/website/content/usage/index.md
index 7c8b0dd..eecb7d2 100644
--- a/website/content/usage/index.md
+++ b/website/content/usage/index.md
@@ -23,14 +23,13 @@ After the [initialization](@/setup/index.md#initialization), Rustlings can be la
This will start the _watch mode_ which walks you through the exercises in a predefined order (what we think is best for newcomers).
It will rerun the current exercise automatically every time you change the exercise's file in the `exercises/` directory.
-<details>
-<summary><strong>If detecting file changes in the <code>exercises/</code> directory fails…</strong> (<em>click to expand</em>)</summary>
+{% details(summary="If detecting file changes in the <code>exercises/</code> directory fails…") %}
-> You can add the **`--manual-run`** flag (`rustlings --manual-run`) to manually rerun the current exercise by entering `r` in the watch mode.
->
-> Please [report the issue](https://github.com/rust-lang/rustlings/issues/new) with some information about your operating system and whether you run Rustlings in a container or virtual machine (e.g. WSL).
+You can add the **`--manual-run`** flag (`rustlings --manual-run`) to manually rerun the current exercise by entering `r` in the watch mode.
-</details>
+Please [report the issue](https://github.com/rust-lang/rustlings/issues/new) with some information about your operating system and whether you run Rustlings in a container or virtual machine (e.g. WSL).
+
+{% end %}
## Exercise List