Skip to content

Commit

Permalink
2023-10-28 23:36:44
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Oct 28, 2023
1 parent a9d6c0d commit 6b37464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-terminal.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h5 class="mb-0">{{ (i18n "terminal") }}</h5>
</div>
</div>
{{ $lang := "" }}
{{ if (eq ($attr.hl) "false") }}
{{ if (or (eq ($attr.hl) "false") (eq ($attr.hl) "0")) }}
{{ $lang = "plaintext" }}
{{ else }}
{{ if (eq ($attr.os) "windows") }}{{ $lang = "powershell" }}{{ end }}
Expand Down

0 comments on commit 6b37464

Please sign in to comment.