Details
Innehåll
Expandable area using the <details>
element.
Implemented as a special variant of Messagebox.
Input:
::: details
Lorem ipsum dolor sit amet.
- Foo
- Bar
- Baz
:::
Output:
Title can optionally be specified:
Input:
::: details Click me!
Lorem **ipsum** dolor sit amet.
- foo
- bar
- baz
:::
Output:
Localization
Uses the same messagebox.title
property as messageboxes with details
as key.
const docs = new Generator({
markdown: {
messagebox: {
title: {
details: "Läs mer",
},
},
},
});