Skip to content
Snippets Groups Projects
Unverified Commit 84526120 authored by Patrick Marsceill's avatar Patrick Marsceill
Browse files

Make cursor pointer, update docs, and add heading

parent c8bbcc2d
No related branches found
No related tags found
No related merge requests found
...@@ -165,6 +165,10 @@ ...@@ -165,6 +165,10 @@
} }
} }
summary {
cursor: pointer;
}
h1, h1,
h2, h2,
h3, h3,
......
...@@ -236,7 +236,9 @@ To generate a Table of Contents on your docs pages, you can use the `{:toc}` met ...@@ -236,7 +236,9 @@ To generate a Table of Contents on your docs pages, you can use the `{:toc}` met
This example skips the page name heading (`#`) from the TOC, as well as the heading for the Table of Contents itself (`##`) because it is redundant, followed by the table of contents itself. To get an unordered list, replace `1. TOC` above by `- TOC`. This example skips the page name heading (`#`) from the TOC, as well as the heading for the Table of Contents itself (`##`) because it is redundant, followed by the table of contents itself. To get an unordered list, replace `1. TOC` above by `- TOC`.
The table of contents can be made collapsible by adding HTML markup, as in the following example. The attribute `open` and the styling with `{: .text-delta }` are optional. ### Collapsible Table of Contents
The Table of Contents can be made collapsible using the `<details>` and `<summary>` elements , as in the following example. The attribute `open` (expands the Table of Contents by default) and the styling with `{: .text-delta }` are optional.
```markdown ```markdown
<details open markdown="block"> <details open markdown="block">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment