presentations/highlight-js/test/markup/elixir/function-title.expect.txt

15 lines
959 B
Text

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-keyword">do</span>
<span class="hljs-symbol">:ok</span>
<span class="hljs-keyword">end</span>
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span>(list) <span class="hljs-keyword">do</span>
<span class="hljs-symbol">:ok</span>
<span class="hljs-keyword">end</span>
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-symbol">:clear</span>, list <span class="hljs-keyword">do</span>
<span class="hljs-symbol">:ok</span>
<span class="hljs-keyword">end</span>
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f!</span></span>, <span class="hljs-symbol">do:</span> IO.puts <span class="hljs-string">"hello world"</span>
x = <span class="hljs-number">5</span>