diff options
| author | Mo Bitar <76752051+mo8it@users.noreply.github.com> | 2025-05-23 13:26:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 13:26:52 +0200 |
| commit | 2267f996844475f45a96d9582e0ac0d40b4bce79 (patch) | |
| tree | 94d0634e928e553ba1071fa405b787efb586e84d /website/templates/shortcodes | |
| parent | e36dd7a1207ccf940ba820abc276fa465f45b531 (diff) | |
| parent | bf74a3d0a7ae3c0d12ba572fe1c2f1d711c6e530 (diff) | |
Merge pull request #2247 from rust-lang/website
Website
Diffstat (limited to 'website/templates/shortcodes')
| -rw-r--r-- | website/templates/shortcodes/details.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/website/templates/shortcodes/details.html b/website/templates/shortcodes/details.html new file mode 100644 index 0000000..1c07778 --- /dev/null +++ b/website/templates/shortcodes/details.html @@ -0,0 +1,9 @@ +<details> + <summary> + <strong>{{ summary | safe }}</strong> (<em>click to expand</em>) + </summary> + + <blockquote class="pt-1 mx-0.5 mt-1 rounded-none border-dashed border-x-3 border-b-3"> + {{ body | markdown | safe }} + </blockquote> +</details> |
