slipshow icon indicating copy to clipboard operation
slipshow copied to clipboard

Attaching attributes to an element of a markdown list

Open meithecatte opened this issue 11 months ago • 3 comments

Consider the following

- step one
- step two
- big reveal: step three!! muaha

None of the following work right:

- step one
- step two
[- big reveal: step three!! muaha]{.unrevealed #blah}
- step one
- step two
- [big reveal: step three!! muaha]{.unrevealed #blah}
- step one
- step two
- big reveal: step three!! muaha {.unrevealed #blah}
- step one
- step two
{.unrevealed #blah}
- big reveal: step three!! muaha
- step one
- step two
{.unrevealed #blah}- big reveal: step three!! muaha

Is there a way to get this to work without manually typing out the HTML?

<ul>
<li>step one</li>
<li>step two</li>
<li id="blah" class="unrevealed">big reveal: step three!! muaha</li>
<li>...and now I [can't]{.fucking-annoying} use any markdown syntax within the list elements and need to convert everything to HTML!</li>
</ul>

meithecatte avatar Mar 09 '25 00:03 meithecatte