Add example collapsible section that is open by default (#34837)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
@@ -43,6 +43,11 @@ After a reader clicks {% octicon "triangle-right" aria-label="The right triangle
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Optionally, to make the section display as open by default, add the `open` attribute to the `<details>` tag:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<details open>
|
||||||
|
|
||||||
## Further reading
|
## Further reading
|
||||||
|
|
||||||
* [{% data variables.product.prodname_dotcom %} Flavored Markdown Spec](https://github.github.com/gfm/)
|
* [{% data variables.product.prodname_dotcom %} Flavored Markdown Spec](https://github.github.com/gfm/)
|
||||||
|
|||||||
Reference in New Issue
Block a user