How do I include other document metadata in the header and footer? #11271
-
DescriptionI'm aiming to get information such as document title and author name into the header of the PDF-rendered output - is this doable without manually retyping the same information in two places? Here's what my project:
render:
- report.md
title: My Document Title
date: today
toc: true
highlight-style: atom-one
author:
- My Name
format:
pdf:
papersize: a4 In this case, I'm looking to get I am using Quarto 1.6.32 on AlmaLinux 9.4 x86_64. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use the meta shortcode or modify the template/partials:
Note that without providing a reproducible code which shows how and where you want to reuse metadata, it's impossible to provide a specific answer. |
Beta Was this translation helpful? Give feedback.
Use the meta shortcode or modify the template/partials:
Note that without providing a reproducible code which shows how and where you want to reuse metadata, it's impossible to provide a specific answer.