Skip to content

Commit 615d4a9

Browse files
committed
Add render-codeblock hook to tell Shutto to ignore translating codeblocks.
1 parent 0dc72eb commit 615d4a9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!-- MvM - added to prevent Shutto from translating codeblocks -->
2+
<span data-stt-ignore>
3+
{{ $result := transform.HighlightCodeBlock . }}
4+
{{ $result.Wrapped }}
5+
</span>

0 commit comments

Comments
 (0)