mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-08-06 22:33:08 +02:00
Add details shortcode
This commit is contained in:
9
website/templates/shortcodes/details.html
Normal file
9
website/templates/shortcodes/details.html
Normal file
@ -0,0 +1,9 @@
|
||||
<details>
|
||||
<summary>
|
||||
<strong>{{ summary | safe }}</strong> (<em>click to expand</em>)
|
||||
</summary>
|
||||
|
||||
<blockquote>
|
||||
{{ body | markdown | safe }}
|
||||
</blockquote>
|
||||
</details>
|
Reference in New Issue
Block a user