{{ $method := .Get "method" | upper }}
{{ $methodStyle := .Get "method" | lower }}
{{ $endpoint := .Get "endpoint" }}
<pre>
<span class="api {{ $methodStyle }}">{{ $method }}</span> {{ $endpoint }}
</pre>