DBScan
November 22, 2022, 8:55am
1
I've played around with Quarto in the last few days and I really like it.
I was wondering how I can display my email address like in standard RMarkdown HTML.
My current YAML header is this:
---
title: "Test"
author:
name: "Bill Gates"
email: "bill.gates@gmail.com"
format: html
editor: visual
---
If I open the HTML with an editor, I don't see anything with email.
In the HTML produced by RMarkdown, I see this line:
bill.gates@gmail.com
I know that I can provide a HTML template like this: template: test_template.html, but how can I get the default Quarto HTML template?
Can someone point me in the right direction?
cderv
November 22, 2022, 2:53pm
2
I don't think email
is among the metadata that quarto provide by default for title block
HTML pages rendered with Quarto include a formatted title block at the start of the article. The title block contains the title, subtitle, authors, date, doi, and abstract.
It is not part of the default template from Pando, and it works in rmarkdown because we are customizing the template.
This would be a feature request for Quarto : GitHub - quarto-dev/quarto-cli: Open-source scientific and technical publishing system built on Pandoc.
It can be done today by tweaking the template and providing a partial template to modify the title block
Exemple of usage for Article in PDF (Quarto - Article Templates ) but this works for HTML too using template-partials
Another example with revealjs : Quarto - Advanced Reveal
2 Likes
system
Closed
November 29, 2022, 2:53pm
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.