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

16 lines
959 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<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>