Skip to content

Commit

Permalink
docs: add headinglevel to Nunjucks macro options (#1052)
Browse files Browse the repository at this point in the history
* docs: add headinglevel to Nunjucks macro options

* Update timeline.md

* docs: add headinglevel to numeric type

* docs: content tweak
  • Loading branch information
helennickols authored Jan 7, 2025
1 parent dcd3f48 commit 5d6052c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/_includes/arguments/timeline.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
### Container

| Name | Type | Required | Description |
| ---------- | ------ | -------- | --------------------------------------------------------------------------------- |
| classes | string | No | Classes to add to the timeline's container. |
| attributes | object | No | HTML attributes (for example data attributes) to add to the timeline's container. |
| Name | Type | Required | Description |
| ---------- | ------ | -------- | --------------------------------------------------------------------------------- |
| classes | string | No | Classes to add to the timeline's container. |
| attributes | object | No | HTML attributes (for example data attributes) to add to the timeline's container. |
| headingLevel | numeric | No | A number for the heading level. Defaults to 2 (`<h2>`). |

### Items

Expand Down

0 comments on commit 5d6052c

Please sign in to comment.