Should the wiki text list markup work in a <details>
tag?
Markup:
<details>
<summary>Click to View List</summary>
* Item 1
* Item 2
</details>
Expected:
- Item 1
- Item 2
Actual:
* Item1 * Item 2
Should the wiki text list markup work in a <details>
tag?
Markup:
<details>
<summary>Click to View List</summary>
* Item 1
* Item 2
</details>
Expected:
Actual:
* Item1 * Item 2
For bullet items, this works:
<details>
<summary>Click to View List</summary>
<div>
* Item 1
* Item 2
</div>
</details>
<span>
also works equally well as <div>
.
Thanks @CodaCoder - was looking for a literal list using wikitext format.
Thanks @EricShulman for the solution.
Hi @DaveGifford. What works equally as well?
Just updated my comment.