diff --git a/layouts/shortcodes/paige/code.html b/layouts/shortcodes/paige/code.html
index 1aaf1e2d..f9533826 100644
--- a/layouts/shortcodes/paige/code.html
+++ b/layouts/shortcodes/paige/code.html
@@ -1,4 +1,4 @@
-{{ $content := .Inner | replaceRE "^\n" "" }}
+{{ $content := .InnerDeindent | replaceRE "^\n" "" }}
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
{{ $options := .Get "options" }}
diff --git a/layouts/shortcodes/paige/email.html b/layouts/shortcodes/paige/email.html
index dc37fd44..afb23faa 100644
--- a/layouts/shortcodes/paige/email.html
+++ b/layouts/shortcodes/paige/email.html
@@ -1,5 +1,5 @@
{{ $address := .Get 0 | default (.Get "address") }}
-{{ $content := .Inner | markdownify }}
+{{ $content := .InnerDeindent | markdownify }}
{{ if not $address }}
{{ errorf "layouts/shortcodes/paige/email.html: no address" }}
diff --git a/layouts/shortcodes/paige/figure.html b/layouts/shortcodes/paige/figure.html
index f08fa3f1..42f2a05c 100644
--- a/layouts/shortcodes/paige/figure.html
+++ b/layouts/shortcodes/paige/figure.html
@@ -1,5 +1,5 @@
{{ $caption := .Get 0 | default (.Get "caption") | markdownify }}
-{{ $content := .Inner | markdownify }}
+{{ $content := .InnerDeindent | markdownify }}
{{ $float := .Get "float" }}
{{ $horizontal := .Get "horizontal" | default "center" }}
{{ $maxwidth := .Get "maxwidth" }}
diff --git a/layouts/shortcodes/paige/gallery.html b/layouts/shortcodes/paige/gallery.html
index 5d3bef34..510db7f5 100644
--- a/layouts/shortcodes/paige/gallery.html
+++ b/layouts/shortcodes/paige/gallery.html
@@ -16,7 +16,7 @@
{{ $type := .Get "type" | default "rows" }}
{{ $width := .Get "width" }}
-{{ $inner := chomp .Inner }}
+{{ $inner := chomp .InnerDeindent }}
{{ $resources := slice }}
{{ if and (not $images) (not $inner) }}
diff --git a/layouts/shortcodes/paige/quote.html b/layouts/shortcodes/paige/quote.html
index 1ed65b4c..83f1d4a1 100644
--- a/layouts/shortcodes/paige/quote.html
+++ b/layouts/shortcodes/paige/quote.html
@@ -1,5 +1,5 @@
{{ $cite := .Get 0 | default (.Get "cite") }}
-{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
+{{ $content := .InnerDeindent | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ if not $content }}
{{ errorf "layouts/shortcodes/paige/quote.html: no content" }}
diff --git a/layouts/shortcodes/paige/tabs.html b/layouts/shortcodes/paige/tabs.html
index c4056658..d466e424 100644
--- a/layouts/shortcodes/paige/tabs.html
+++ b/layouts/shortcodes/paige/tabs.html
@@ -1,4 +1,4 @@
-{{ $content := chomp .Inner }}
+{{ $content := chomp .InnerDeindent }}
{{ if not (.Page.Scratch.Get "paige-tabs") }}
{{ .Page.Scratch.Set "paige-tabs" 0 }}
diff --git a/layouts/shortcodes/paige/tabs/button.html b/layouts/shortcodes/paige/tabs/button.html
index 48e0caae..a5bd203e 100644
--- a/layouts/shortcodes/paige/tabs/button.html
+++ b/layouts/shortcodes/paige/tabs/button.html
@@ -1,4 +1,4 @@
-{{ $content := chomp .Inner | markdownify }}
+{{ $content := chomp .InnerDeindent | markdownify }}
{{ $tabcount := .Page.Scratch.Get "paige-tabs" | default 0 }}
{{ if not $content }}
diff --git a/layouts/shortcodes/paige/tabs/buttons.html b/layouts/shortcodes/paige/tabs/buttons.html
index 59c73fa7..d5650d94 100644
--- a/layouts/shortcodes/paige/tabs/buttons.html
+++ b/layouts/shortcodes/paige/tabs/buttons.html
@@ -1,4 +1,4 @@
-{{ $content := chomp .Inner }}
+{{ $content := chomp .InnerDeindent }}
{{ .Page.Scratch.Set "paige-tabs-button" 0 }}
diff --git a/layouts/shortcodes/paige/tabs/pane.html b/layouts/shortcodes/paige/tabs/pane.html
index dcfc9ae0..b2b37a68 100644
--- a/layouts/shortcodes/paige/tabs/pane.html
+++ b/layouts/shortcodes/paige/tabs/pane.html
@@ -1,4 +1,4 @@
-{{ $content := chomp .Inner | markdownify }}
+{{ $content := chomp .InnerDeindent | markdownify }}
{{ $tabcount := .Page.Scratch.Get "paige-tabs" | default 0 }}
{{ if not $content }}
diff --git a/layouts/shortcodes/paige/tabs/panes.html b/layouts/shortcodes/paige/tabs/panes.html
index 144f0660..1e87fb59 100644
--- a/layouts/shortcodes/paige/tabs/panes.html
+++ b/layouts/shortcodes/paige/tabs/panes.html
@@ -1,4 +1,4 @@
-{{ $content := chomp .Inner }}
+{{ $content := chomp .InnerDeindent }}
{{ .Page.Scratch.Set "paige-tabs-pane" 0 }}