diff --git a/layouts/_shortcodes/asciinema.html b/layouts/_shortcodes/asciinema.html index b82491f..60a0207 100644 --- a/layouts/_shortcodes/asciinema.html +++ b/layouts/_shortcodes/asciinema.html @@ -1,23 +1,16 @@ -
+{{- $key := .Get "key" -}} +{{- /* Doc: https://docs.asciinema.org/manual/player/options/ */ -}} +{{- $opts := slice "cols" "rows" "autoPlay" "preload" "loop" "startAt" "speed" +"idleTimeLimit" "theme" "poster" "fit" "controls" "pauseOnMarkers" +"terminalFontSize" "terminalFontFamily" "terminalLineHeight" -}} +{{- /* Skipping option markers. It is an array. Not sure if possible to pass in +hugo. Embed directly in cast file */ -}} +