Skip to content

Commit 3a3c722

Browse files
authored
Merge pull request mendix#9721 from mendix/MvM-ExcludeCodeTranslation
Add render-codeblock hook to tell Shutto to ignore translating codeblocks.
2 parents 56083c2 + 615d4a9 commit 3a3c722

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)