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 49
49
{{ $codeSnippet = delimit (first $numOfLines (after $fromLine $splitContent)) "\n" }}
50
50
{{ end }}
51
51
52
- {{ highlight $codeSnippet $language }}
52
+ < div class ="gh-codeblock-wrapper ">
53
+ < div class ="highlight ">
54
+ {{ highlight $codeSnippet $language }}
55
+ </ div >
53
56
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 }}
60
65
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 >
64
69
< strong > View full example on GitHub</ strong >
65
- </ a >
70
+ </ a >
71
+ </ div >
66
72
</ div >
67
73
{{ else }}
68
74
{{ partial "github-content.html" }}
You can’t perform that action at this time.
0 commit comments