Skip to content

Commit b395985

Browse files
Retire shortcode spoiler (#352)
* spoiler * Automated changes * Automated changes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 934149d commit b395985

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/course/NLP/04_word2vec/index.qmd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,10 @@ Vous pouvez essayer de faire vous-même les nuages ci-dessous
304304
ou cliquer sur la ligne ci-dessous pour afficher le code ayant
305305
généré les figures :
306306

307-
{{< spoiler text="Cliquer pour afficher le code" >}}
307+
::: {.cell .markdown}
308+
```{=html}
309+
<details><summary><code>Cliquer pour afficher le code</code> 👇</summary>
310+
```
308311

309312
```{python}
310313
def plot_top_words(initials, ax, n_words=20):
@@ -336,8 +339,11 @@ plot_top_words('HPL', ax = axs[1])
336339
plot_top_words('MWS', ax = axs[2])
337340
```
338341

342+
```{=html}
343+
</details>
344+
```
345+
:::
339346

340-
{{< /spoiler >}}
341347

342348
```{python}
343349
#| eval: false

0 commit comments

Comments
 (0)