I want to add a class name to an unordered list that is written in Markdown. First, is it possible to add classes and IDs to Markdown elements and if so, how? I don't know where a CSS class should go in an unordered list in Markdown.

This is the desired HTML output:

<ul class="class1">
<li>Element 1</li>
<li>Element 2</li>
</ul>
Answered by Jack McDade! Go to answer.