Skip to content

Commit 2d8fb30

Browse files
committed
docs/trusted-publishing: Enable syntax highlighting for YAML snippet
1 parent 5cbd037 commit 2d8fb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/docs/trusted-publishing.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
</p>
6767

6868
{{!-- template-lint-disable no-whitespace-for-layout --}}
69-
<pre><code>name: Publish to crates.io
69+
<pre><code class="language-yaml" {{highlight-syntax}}>name: Publish to crates.io
7070
on:
7171
push:
7272
tags: ['v*'] # Triggers when pushing tags starting with 'v'

0 commit comments

Comments
 (0)