summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2018-06-24 01:49:06 +0200
committerPatrick Spek <p.spek@tyil.nl>2018-06-24 01:49:06 +0200
commit215855b18e9159b1cca2103b65e1b5b98465c310 (patch)
treea10044f892e5f8ef34dd492f1d62ed12c1ecc58b /lib
parentec041f718bc90ddd5fab05cfa4a9cd9301f5e356 (diff)
downloadPod::To::Pager-215855b18e9159b1cca2103b65e1b5b98465c310.tar.gz
Pod::To::Pager-215855b18e9159b1cca2103b65e1b5b98465c310.tar.bz2
Indent headings
Diffstat (limited to 'lib')
-rw-r--r--lib/Pod/To/Pager/Handlers.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Pod/To/Pager/Handlers.pm6 b/lib/Pod/To/Pager/Handlers.pm6
index c7e54f5..8fe81e6 100644
--- a/lib/Pod/To/Pager/Handlers.pm6
+++ b/lib/Pod/To/Pager/Handlers.pm6
@@ -302,7 +302,7 @@ multi sub handle-pod(
handle-pod(
$pod.contents,
:$max-line-length,
- indent-size => 0,
+ indent-size => ($pod.level - 1) × 2,
prefix => color('bold blue'),
suffix => RESET,
);