title: Elm: How do I display a list of strings in an HTML list?
body: <p>I'm writing an <a href="http://elm-lang.org/">elm</a> program that should format its output in an HTML list. The function I want takes,</p>
  
  <pre><code>inputs = ["first", "second", "third"]
  </code></pre>
  
  <p>and outputs some kind of Elm <code>Element</code> that is essentially,</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li&gt;first&lt;/li&gt;
      &lt;li&gt;second&lt;/li&gt;
      &lt;li&gt;third&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Sadly, I can't find any built-in functions to do this. Perhaps the <code>markdown</code> syntax could be extended to take Mustache-like templates,</p>
  
  <pre><code>[markdown|
  {{#inputs}}
  * {{text}}
  {{/inputs}}
  ]
  </code></pre>
  
  <p>(sorry I'm not sure what the correct Mustache syntax is for an array-of-strings, instead of array-of-objects).</p>
  
  <p>Raw HTML element emitting would also be nice. Thanks in advance!</p>