Update dust templates to support the new source code block format.
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
<tbody>
|
||||
{#.lines}
|
||||
<tr>
|
||||
<td><code class="src_line">{.}</code></td>
|
||||
<td>{#.children}{@select key=.type}
|
||||
{@eq value="raw_text"}<code class="src_line">{.content}</code>{/eq}
|
||||
{@eq value="highlight_start"}<span class="srchl_{.name}">{/eq}
|
||||
{@eq value="highlight_end"}</span>{/eq}
|
||||
{@none}{!TODO: make this panic!}ERROR: Unrecognized type {.type}.{/none}
|
||||
{/select}{/.children}</td>
|
||||
</tr>
|
||||
{/.lines}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user