File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
website_and_docs/layouts/shortcodes Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change 4949 {{ $codeSnippet = delimit (first $numOfLines (after $fromLine $splitContent)) "\n" }}
5050 {{ end }}
5151
52- {{ highlight $codeSnippet $language }}
52+ < div class ="gh-codeblock-wrapper ">
53+ < div class ="highlight ">
54+ {{ highlight $codeSnippet $language }}
55+ </ div >
5356
54- {{ if $hasFragment }}
55- < details class ="mt-2 ">
56- < summary > Show full example</ summary >
57- < div class ="pt-2 "> {{ highlight $content $language }}</ div >
58- </ details >
59- {{ end }}
57+ {{ if $hasFragment }}
58+ < details class ="mt-3 ">
59+ < summary > Show full example</ summary >
60+ < div class ="pt-2 highlight ">
61+ {{ highlight $content $language }}
62+ </ div >
63+ </ details >
64+ {{ end }}
6065
61- < div class ="text-end pb-2 ">
62- < a href ="{{- $webUrl -}} " target ="_blank ">
63- < i class ="fas fa-external-link-alt pl-2 "> </ i >
66+ < div class ="text-end pb-2 mt -2 ">
67+ < a href ="{{- $webUrl -}} " target ="_blank ">
68+ < i class ="fas fa-external-link-alt pl-2 "> </ i >
6469 < strong > View full example on GitHub</ strong >
65- </ a >
70+ </ a >
71+ </ div >
6672 </ div >
6773{{ else }}
6874 {{ partial "github-content.html" }}
You can’t perform that action at this time.
0 commit comments